switch-to-configuration-ng: remove nested src directories (#490861)
This commit is contained in:
@@ -9,6 +9,5 @@ For more information on what happens during a switch, see [what-happens-during-a
|
||||
```
|
||||
cd ./pkgs/by-name/sw/switch-to-configuration-ng
|
||||
nix-shell ../../../.. -A switch-to-configuration-ng
|
||||
cd ./src
|
||||
cargo build
|
||||
```
|
||||
|
||||
@@ -12,9 +12,9 @@ rustPlatform.buildRustPackage {
|
||||
pname = "switch-to-configuration";
|
||||
version = "0.1.0";
|
||||
|
||||
src = ./src;
|
||||
src = builtins.filterSource (name: _: !(lib.hasSuffix ".nix" name)) ./.;
|
||||
|
||||
cargoLock.lockFile = ./src/Cargo.lock;
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ dbus ];
|
||||
|
||||
Reference in New Issue
Block a user