3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
Domen Kožar 16535d4a71 setuid-wrappers: remove config.system.path from the closure
The motivation is using sudo in chroot nix builds, a somewhat
special edge case I have and pulling system path into chroot
yields to some very nasty bug like
https://github.com/NixOS/nixpkgs/issues/15581

Previously:

$ cat /var/setuid-wrappers/sudo.real
/nix/store/3sm04dzh0994r86xqxy52jjc0lqnkn65-system-path/bin/sudo

After the change:

$ cat /var/setuid-wrappers/sudo.real
/nix/store/4g9sxbzy8maxf1v217ikp69c0c3q12as-sudo-1.8.15/bin/sudo
2016-05-23 13:47:23 +01:00
..
config Merge pull request #15384 from Shados/fix-preshell-terminfo 2016-05-14 06:21:25 +02:00
hardware rtl8723bs-firmware: init, split off from rtl8723bs 2016-04-25 00:41:25 -07:00
i18n/input-method input methods: fix gtk cache 2016-04-16 17:51:32 +09:00
installer installer: simple PXE bootable NixOS installer 2016-04-29 10:42:39 +01:00
misc nzbget: 16.4 -> 17.0-r1686 and nzbget service 2016-05-13 18:56:39 +02:00
profiles treewide: Use correct output in ${config.nix.package}/bin 2016-04-25 16:44:37 +02:00
programs tmux module: add additional variables for configuring tmux 2016-05-18 19:24:03 +08:00
security setuid-wrappers: remove config.system.path from the closure 2016-05-23 13:47:23 +01:00
services Merge pull request #15630 from obadz/opensmtpd 2016-05-23 08:52:42 +02:00
system Merge pull request #15598 from rnhmjoj/systemd 2016-05-23 10:28:34 +02:00
tasks networking module: Add some missing literalExample 2016-04-25 18:15:52 +02:00
testing test-instrumentation.nix: Only clear $PAGER in the backdoor shell 2016-02-23 11:56:09 +01:00
virtualisation Merge branch 'pr/14911' 2016-05-05 21:28:27 +01:00
module-list.nix command-not-found: disable module until it's fixed again 2016-05-19 20:02:06 +01:00
rename.nix nixos: remove redundant services.dovecot2.package option 2016-05-06 10:10:06 +02:00