Skip to content

Commit

Permalink
Fix flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbor committed Sep 2, 2024
1 parent e7cb4fd commit 7334854
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@

outputs = { self, nixpkgs, cf, crane }:
cf.lib.flakeForDefaultSystems (system:
with builtins;
let
pkgs = nixpkgs.legacyPackages.${system};
craneLib = (crane.mkLib nixpkgs.legacyPackages.${system});
craneLib = crane.mkLib nixpkgs.legacyPackages.${system};
in {
### PACKAGES ###
packages = {
Expand All @@ -26,16 +24,9 @@
# doCheck = true;
};
};

### DEVELOPMENT SHELLS ###
devShells.default = pkgs.mkShellNoCC {
name = self.packages.${system}.default.name;
nativeBuildInputs = nativeBuildInputs ++ devInputs;
inherit buildInputs;
};
}) // {
### OVERLAY ###
overlays.default = final: prev: {
overlays.default = _: prev: {
zinn = self.packages.${prev.system}.default;
};
};
Expand Down

0 comments on commit 7334854

Please sign in to comment.