lib does not depend on the system.
This commit is contained in:
parent
4f9dbd70f1
commit
23ef158676
1 changed files with 6 additions and 4 deletions
10
flake.nix
10
flake.nix
|
|
@ -32,7 +32,7 @@
|
|||
, pre-commit-hooks
|
||||
,
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
(flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
|
|
@ -58,8 +58,6 @@
|
|||
module = { imports = [ ./nix/modules ]; };
|
||||
};
|
||||
|
||||
lib = import ./nix/lib.nix { inherit nixpkgs; };
|
||||
|
||||
packages = rec {
|
||||
service-manager =
|
||||
pkgs.rustPlatform.buildRustPackage
|
||||
|
|
@ -127,5 +125,9 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
});
|
||||
}))
|
||||
//
|
||||
{
|
||||
lib = import ./nix/lib.nix { inherit nixpkgs; };
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue