Skip to content

Commit

Permalink
nix(flake): avoid importing nixpkgs (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
diniamo authored Jul 7, 2024
1 parent 23536c2 commit f09e0ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
};
pkgs = nixpkgs.legacyPackages.${system};
naersk' = pkgs.callPackage naersk {};
in {
packages = forAllSystems (system: {
Expand Down

0 comments on commit f09e0ac

Please sign in to comment.