summaryrefslogtreecommitdiffstats
path: root/lass
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 /lass
parent38bf02df0aedd219d70be49c363ccac4da2d09ca (diff)
treewide: use packageName
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/br.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/lass/2configs/br.nix b/lass/2configs/br.nix
index ad307c79..e4ccffe2 100644
--- a/lass/2configs/br.nix
+++ b/lass/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 = {