summaryrefslogtreecommitdiffstats
path: root/tv/2configs/br.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-09-04 20:17:56 +0200
committertv <tv@krebsco.de>2019-09-04 20:28:01 +0200
commit856ee03a203722722fb646c62c36e4b6aabadaee (patch)
tree50c4757cb928c784ec4c4b3719ee920219cd7e50 /tv/2configs/br.nix
parent38bf02df0aedd219d70be49c363ccac4da2d09ca (diff)
treewide: use packageName
Diffstat (limited to 'tv/2configs/br.nix')
-rw-r--r--tv/2configs/br.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/tv/2configs/br.nix b/tv/2configs/br.nix
index d660ebc35..e6a46e903 100644
--- a/tv/2configs/br.nix
+++ b/tv/2configs/br.nix
@@ -5,10 +5,11 @@ with import <stockholm/lib>;
<nixpkgs/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix>
];
- krebs.nixpkgs.allowUnfreePredicate = pkg: any (flip hasPrefix pkg.name) [
- "brother-udev-rule-type1-"
- "brscan4-"
- "mfcl2700dnlpr-"
+ krebs.nixpkgs.allowUnfreePredicate = pkg: any (eq (packageName pkg)) [
+ "brother-udev-rule-type1"
+ "brscan4"
+ "brscan4-etc-files"
+ "mfcl2700dnlpr"
];
hardware.sane = {