Skip to content

Commit

Permalink
Merge pull request nix-community#75 from nix-community/fix-flake
Browse files Browse the repository at this point in the history
fix nix flake show
  • Loading branch information
Mic92 committed Jun 12, 2023
2 parents 8e0019d + a2937d9 commit 935ee7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
in
{
packages = forAllSystems (system: import ./default.nix {
legacyPackages = forAllSystems (system: import ./default.nix {
pkgs = import nixpkgs { inherit system; };
});
packages = forAllSystems (system: nixpkgs.lib.filterAttrs (_: v: nixpkgs.lib.isDerivation v) self.legacyPackages.${system});
};
}

0 comments on commit 935ee7a

Please sign in to comment.