tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
handheld-daemon: Fix chmod path in udev rules
bara.tngl.sh
8 months ago
bfce999b
1f5f5ac8
+5
-2
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ha
handheld-daemon
package.nix
+5
-2
pkgs/by-name/ha/handheld-daemon/package.nix
reviewed
···
70
70
71
71
substituteInPlace src/hhd/plugins/plugin.py \
72
72
--replace-fail '"id"' '"${lib.getExe' coreutils "id"}"'
73
73
+
74
74
+
substituteInPlace usr/lib/udev/rules.d/83-hhd.rules \
75
75
+
--replace-fail '/bin/chmod' '${lib.getExe' coreutils "chmod"}'
73
76
'';
74
77
75
78
build-system = with python3Packages; [
···
89
92
doCheck = false;
90
93
91
94
postInstall = ''
92
92
-
install -Dm644 $src/usr/lib/udev/rules.d/83-hhd.rules -t $out/lib/udev/rules.d/
93
93
-
install -Dm644 $src/usr/lib/udev/hwdb.d/83-hhd.hwdb -t $out/lib/udev/hwdb.d/
95
95
+
install -Dm644 usr/lib/udev/rules.d/83-hhd.rules -t $out/lib/udev/rules.d/
96
96
+
install -Dm644 usr/lib/udev/hwdb.d/83-hhd.hwdb -t $out/lib/udev/hwdb.d/
94
97
'';
95
98
96
99
meta = {