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
,
}:
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; };
};
}