Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: 812c0dfbe24c8fe93992f77abbf1e5a975ea42f4
https://github.com/NixOS/nix/commit/812c0dfbe24c8fe93992f77abbf1e5a975ea42f4
Author: Eelco Dolstra <eelco.dols...@logicblox.com>
Date: 2016-06-02 (Thu, 02 Jun 2016)
Changed paths:
M src/libstore/gc.cc
M src/libstore/local-fs-store.cc
M src/libstore/local-store.cc
M src/libstore/local-store.hh
M src/libstore/profiles.cc
M src/libstore/profiles.hh
M src/libstore/store-api.cc
M src/libstore/store-api.hh
M src/libutil/ref.hh
M src/nix-env/nix-env.cc
M src/nix-env/user-env.cc
M src/nix-instantiate/nix-instantiate.cc
M src/nix-store/nix-store.cc
Log Message:
-----------
Allow setting the state directory as a store parameter
E.g. "local?store=/tmp/store&state=/tmp/var".
Commit: 064816ab98e7a230b6e9f4071353f5172e70cf03
https://github.com/NixOS/nix/commit/064816ab98e7a230b6e9f4071353f5172e70cf03
Author: Eelco Dolstra <eelco.dols...@logicblox.com>
Date: 2016-06-02 (Thu, 02 Jun 2016)
Changed paths:
M src/libstore/build.cc
M src/libstore/local-store.cc
Log Message:
-----------
Respect build-use-substitutes
Commit: 4494000e04122f24558e1436e66d20d89028b4bd
https://github.com/NixOS/nix/commit/4494000e04122f24558e1436e66d20d89028b4bd
Author: Eelco Dolstra <eelco.dols...@logicblox.com>
Date: 2016-06-02 (Thu, 02 Jun 2016)
Changed paths:
M .gitignore
R scripts/copy-from-other-stores.pl.in
M src/libstore/build.cc
M src/libstore/gc.cc
M src/libstore/local-store.cc
M src/libstore/local-store.hh
M src/libstore/optimise-store.cc
Log Message:
-----------
LocalStore: Allow the physical and logical store directories to differ
This is primarily to subsume the functionality of the
copy-from-other-stores substituter. For example, in the NixOS
installer, we can now do (assuming we're in the target chroot, and the
Nix store of the installation CD is bind-mounted on /tmp/nix):
$ nix-build ... --option substituters
'local?state=/tmp/nix/var&real=/tmp/nix/store'
However, unlike copy-from-other-stores, this also allows write access
to such a store. One application might be fetching substitutes for
/nix/store in a situation where the user doesn't have sufficient
privileges to create /nix, e.g.:
$ NIX_REMOTE="local?state=/home/alice/nix/var&real=/home/alice/nix/store"
nix-build ...
Commit: 6f2d51287c471238a2ff1a517c965560dfb2a149
https://github.com/NixOS/nix/commit/6f2d51287c471238a2ff1a517c965560dfb2a149
Author: Eelco Dolstra <eelco.dols...@logicblox.com>
Date: 2016-06-02 (Thu, 02 Jun 2016)
Changed paths:
A src/nix/run.cc
Log Message:
-----------
Add basic "nix run" command
Commit: a24f2c9b8413ebc8b1776ab3f770c69e4a03007b
https://github.com/NixOS/nix/commit/a24f2c9b8413ebc8b1776ab3f770c69e4a03007b
Author: Eelco Dolstra <eelco.dols...@logicblox.com>
Date: 2016-06-02 (Thu, 02 Jun 2016)
Changed paths:
M src/libstore/local-store.hh
M src/nix/run.cc
Log Message:
-----------
nix run: Mount the Nix store in a private namespace
This is a convenience command to allow users who are not privileged to
create /nix/store to use Nix with regular binary caches. For example,
$ NIX_REMOTE="local?state=$HOME/nix/var&real=/$HOME/nix/store" nix run
firefox bashInteractive
will download Firefox and bash from cache.nixos.org, then start a
shell in which $HOME/nix/store is mounted on /nix/store.
Commit: a424ab0444540579d462856a9d7fb918ebd33603
https://github.com/NixOS/nix/commit/a424ab0444540579d462856a9d7fb918ebd33603
Author: Eelco Dolstra <eelco.dols...@logicblox.com>
Date: 2016-06-02 (Thu, 02 Jun 2016)
Changed paths:
M src/libutil/util.cc
Log Message:
-----------
createTempDir(): Don't do a chown on Linux
It's not needed and can cause problems in a user namespace.
Commit: eda2aaae92c54892e70fff2958698e68a8204d35
https://github.com/NixOS/nix/commit/eda2aaae92c54892e70fff2958698e68a8204d35
Author: Eelco Dolstra <eelco.dols...@logicblox.com>
Date: 2016-06-02 (Thu, 02 Jun 2016)
Changed paths:
M src/nix/run.cc
Log Message:
-----------
nix run: Handle the case where the /nix/store mount point doesn't exist
Commit: d64e0c1b64dc20b02fae335397213d1ca17d9d56
https://github.com/NixOS/nix/commit/d64e0c1b64dc20b02fae335397213d1ca17d9d56
Author: Eelco Dolstra <eelco.dols...@logicblox.com>
Date: 2016-06-02 (Thu, 02 Jun 2016)
Changed paths:
M src/libstore/derivations.cc
M src/libstore/local-fs-store.cc
M src/libstore/local-store.hh
M src/libstore/misc.cc
M src/libstore/store-api.hh
Log Message:
-----------
Make derivationFromPath work on diverted stores
Commit: f8a8b4d8f8a694d4eacca52d92b3538dfbdf9b95
https://github.com/NixOS/nix/commit/f8a8b4d8f8a694d4eacca52d92b3538dfbdf9b95
Author: Eelco Dolstra <eelco.dols...@logicblox.com>
Date: 2016-06-02 (Thu, 02 Jun 2016)
Changed paths:
M src/nix/run.cc
Log Message:
-----------
nix run: Set a reasonable uid/gid
Compare: https://github.com/NixOS/nix/compare/f2682e6e18a7...f8a8b4d8f8a6
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits