Skip to content

Commit

Permalink
Fix allowedUnfreePackageNames for packages without pname
Browse files Browse the repository at this point in the history
  • Loading branch information
dpausp committed May 30, 2023
1 parent 7474629 commit 6e6b49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ with builtins;

let
nixpkgsConfig = import ./nixpkgs-config.nix;
getName = pkg: pkg.pname or (parseDrvName pkgs).name;
getName = pkg: pkg.pname or (parseDrvName pkg.name);
in
import nixpkgs {
overlays = overlays ++ [ (import ./pkgs/overlay.nix) ];
Expand Down

0 comments on commit 6e6b49b

Please sign in to comment.