nixos/sudo-rs: add crossCompile 'fix'
This is just a quick fix based on pname, as I have no idea how to use slicing in the module We should instead use slicing to get the package for the host
This commit is contained in:
parent
04e64fa716
commit
8e9b72be82
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ in
|
|||
src = pkgs.writeText "sudoers-in" cfg.configFile;
|
||||
preferLocalBuild = true;
|
||||
}
|
||||
"${cfg.package}/bin/visudo -f $src -c && cp $src $out";
|
||||
"${pkgs.buildPackages."${cfg.package.pname}"}/bin/visudo -f $src -c && cp $src $out";
|
||||
mode = "0440";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue