about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--machines/aszlig/dnyarri.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/machines/aszlig/dnyarri.nix b/machines/aszlig/dnyarri.nix
index 7e42f607..482395ee 100644
--- a/machines/aszlig/dnyarri.nix
+++ b/machines/aszlig/dnyarri.nix
@@ -63,7 +63,7 @@ in {
   # This is very ugly and I really want to avoid non-free packages on all
   # of my workstations. But right now I need to get rid of useless paper.
   nixpkgs.config.allowUnfreePredicate = pkg: let
-    inherit (builtins.parseDrvName pkg.name) name;
+    inherit (builtins.parseDrvName (pkg.name or "")) name;
   in name == "hplip";
   nixpkgs.overlays = lib.singleton (lib.const (super: {
     hplip = super.hplip.override { withPlugin = true; };