switch-to-configuration-ng: remove nested src directories (#490861)

This commit is contained in:
Jared Baur
2026-02-22 00:37:54 +00:00
committed by GitHub
7 changed files with 2 additions and 3 deletions
@@ -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 ];