gradm: ensure that udev rules are actually installed
Another regression on my part: gradm won't install the rules unless $(DESTDIR)/etc/udev/rules.d exists.
This commit is contained in:
parent
88138d43fa
commit
f1187c4605
@ -35,6 +35,8 @@ stdenv.mkDerivation rec {
|
||||
--replace "/sbin/gradm_pam" "$out/bin/gradm_pam"
|
||||
|
||||
echo 'inherit-learn /nix/store' >>learn_config
|
||||
|
||||
mkdir -p "$out/etc/udev/rules.d"
|
||||
'';
|
||||
|
||||
postInstall = ''rmdir $out/dev'';
|
||||
|
Loading…
Reference in New Issue
Block a user