lib does not depend on the system.

This commit is contained in:
R-VdP 2023-02-02 09:23:35 +00:00
parent 4f9dbd70f1
commit 23ef158676
No known key found for this signature in database

View file

@ -32,7 +32,7 @@
, pre-commit-hooks , pre-commit-hooks
, ,
}: }:
flake-utils.lib.eachDefaultSystem (system: (flake-utils.lib.eachDefaultSystem (system:
let let
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
@ -58,8 +58,6 @@
module = { imports = [ ./nix/modules ]; }; module = { imports = [ ./nix/modules ]; };
}; };
lib = import ./nix/lib.nix { inherit nixpkgs; };
packages = rec { packages = rec {
service-manager = service-manager =
pkgs.rustPlatform.buildRustPackage pkgs.rustPlatform.buildRustPackage
@ -127,5 +125,9 @@
}; };
}; };
}; };
}); }))
//
{
lib = import ./nix/lib.nix { inherit nixpkgs; };
};
} }