Commit e4b8a0a2 authored by K900's avatar K900
Browse files

switch-to-configuration-ng: move sources to a subdirectory to avoid fileset shenanigans

Something is wrong with source filtering and it makes installer tests fail.
Move it to a subdirectory to not have to do that, at least for now.
The Nix exorcism squad has been called.
parent dba9a479
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -10,17 +10,9 @@ rustPlatform.buildRustPackage {
  pname = "switch-to-configuration";
  version = "0.1.0";

  src = lib.fileset.toSource {
    root = ./.;
    fileset = lib.fileset.unions [
      ./Cargo.lock
      ./Cargo.toml
      ./build.rs
      ./src
    ];
  };
  src = ./src;

  cargoLock.lockFile = ./Cargo.lock;
  cargoLock.lockFile = ./src/Cargo.lock;

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ dbus ];
Loading