sane-scripts: remove /run/wrappers hack now that prologue is fixed in resholve

This commit is contained in:
colin 2022-12-26 10:02:51 +00:00
parent 67cddecab4
commit a9096f3312
2 changed files with 4 additions and 4 deletions

View File

@ -70,8 +70,7 @@ resholve.mkDerivation {
# not sure if/where that lack of suid causes problems.
umount = true;
};
# prologue is broken; see <https://github.com/abathur/resholve/issues/89>
# prologue = "bin/prologue";
prologue = "bin/sane-resholve-prologue";
# list of programs which *can* or *cannot* exec their arguments
execer = with pkgs; [
@ -102,8 +101,6 @@ resholve.mkDerivation {
installPhase = ''
mkdir -p $out/bin
cp -R * $out/bin/
# allow scripts to make use of sudo, umount wrappers
sed -i '3iPATH=$PATH:/run/wrappers/bin' $out/bin/*;
'';
meta = {

View File

@ -0,0 +1,3 @@
# sudo, umount, others, are located here.
# resholve can't inline their path, since it's not a store path
PATH=$PATH:/run/wrappers/bin