[Nix-dev] Nix(OS) and passwords ? builtins.writeFileToPath proposal
Michael Raskin
7c6f434c at mail.ru
Sun Dec 27 01:55:17 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marc Weber wrote:
> You can write this derivation:
>
> mkDerivation {
> name ="getpasswords";
> derivation = "/nix/store/xxxxxxxxxxxxxxxxxxxxxxxxxxx-the-passwords";
>
> buildPhase = ''
> cp -r $derivation /tmp
> chmod -R 777 $derivation
> '';
> }
Great, but Nix builder cannot read the derivation - only Nix daemon can.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJLNrBsAAoJEE6tnN0aWvw3u1EIAJSNIfpFlYlTnk+d93f2okkP
JSzzRrSzGwGOV3jsSj6QnqFQQBC700hhrejsp0L2cBQsQNnFK//Rc3vL93APy7Wm
HYUWT8oTYBFhr+b1UthZCkgQm7HxgB3cuXYtK4LV+Z2LhqfK0GFVenePJPNTj717
W6H0TdygWPYG5SSrQaqKH+gQ4/XCswJUoY1xsMVYMJK5+lwsRNGCeeJ9fwMU3h3K
qlf5UNdlkI9vKykcqX+Y1whvIY80HRGkU7xqbJQGw59X++elkLw4jvS0HxwIucWY
tZOWRta+icLmd2mDC70CUOAW4SpSCxE9tWrZv8yQwaoAR+yoqemjql/Zj9S0ylE=
=GizV
-----END PGP SIGNATURE-----
More information about the nix-dev
mailing list