From 6e6b49bb3ab6574c5875ea57f659c7287a64aadc Mon Sep 17 00:00:00 2001 From: Tobias Stenzel Date: Tue, 30 May 2023 11:31:15 +0200 Subject: [PATCH] Fix allowedUnfreePackageNames for packages without pname --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 0a5d71a91..cb402a1e5 100644 --- a/default.nix +++ b/default.nix @@ -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) ];