3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
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
..
doc/manual manual: minor cleanups 2016-05-22 20:01:52 +02:00
lib treewide: Use correct output in ${config.nix.package}/bin 2016-04-25 16:44:37 +02:00
maintainers ec2/create-amis.sh: specify the approriate size on snapshots 2016-05-07 19:44:39 +01:00
modules setuid-wrappers: remove config.system.path from the closure 2016-05-23 13:47:23 +01:00
tests rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
COPYING
default.nix nix: Add a "dev" output 2016-04-18 21:13:18 +02:00
README
release-combined.nix nixos/release-combined: Add boot-stage1 test 2016-05-06 16:56:54 +02:00
release-small.nix containers: test imperative and ipv4 in small-release (#15015) 2016-04-26 22:38:47 +02:00
release.nix nixos/tests: Add a test for boot stage 1 2016-05-06 16:56:43 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.