Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-22 | Fetch the flake registry from the NixOS/flake-registry repo | Eelco Dolstra | |
2019-05-22 | Check the flake epoch | Eelco Dolstra | |
Closes #2883. | |||
2019-05-22 | nix flake deps: Print flake dependencies | Eelco Dolstra | |
2019-05-22 | Move flake-related flags into a separate class | Eelco Dolstra | |
Also, rename --dont-save-lock-file to --no-save-lock-file and change noRegistries to useRegistries. | |||
2019-05-22 | Improve FlakeCommand | Eelco Dolstra | |
It now handles commonality like calling getFlake() and resolving relative local flake refs. Fixes #2822. | |||
2019-05-21 | Use warn(), tweak messages | Eelco Dolstra | |
2019-05-21 | Only rewrite the lockfile if it changed | Eelco Dolstra | |
This removes spurious warnings about failure to write the lockfile. | |||
2019-05-17 | Lockfile handling in `resolveFlake` is fixed | Nick Van den Broeck | |
2019-05-16 | Give errors in resolveFlake | Nick Van den Broeck | |
If DontUpdate but the lockfile isn't correct | |||
2019-05-16 | Fixed issue 65 | Nick Van den Broeck | |
lockfile updating | |||
2019-05-16 | Merge pull request #96 from tweag/support-chroot-store | Eelco Dolstra | |
Make flakes work with 'nix build --store ...' | |||
2019-05-15 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-05-15 | Merge pull request #2810 from NixOS/print-build-logs | Eelco Dolstra | |
nix: Add --print-build-logs flag | |||
2019-05-15 | nix: Add --print-build-logs flag | Eelco Dolstra | |
This causes 'nix' to print build log output to stderr rather than showing the last log line in the progress bar. Log lines are prefixed by the name of the derivation (minus the version string), e.g. binutils> make[1]: Leaving directory '/build/binutils-2.31.1' binutils-wrapper> unpacking sources binutils-wrapper> patching sources ... binutils-wrapper> Using dynamic linker: '/nix/store/kr51dlsj9v5cr4n8700jliyz8v5b2q7q-bootstrap-stage0-glibc/lib/ld-linux-x86-64.so.2' bootstrap-stage2-gcc-wrapper> unpacking sources ... linux-headers> unpacking sources linux-headers> unpacking source archive /nix/store/8javli69jhj3bkql2c35gsj5vl91p382-linux-4.19.16.tar.xz | |||
2019-05-15 | Make flakes work with 'nix build --store ...' | Eelco Dolstra | |
It was getting confused between logical and real store paths. Also, make fetchGit and fetchMercurial update allowedPaths properly. (Maybe the evaluator, rather than the caller of the evaluator, should apply toRealPath(), but that's a bigger change.) | |||
2019-05-15 | One FIXME was already fixed | Nick Van den Broeck | |
2019-05-13 | Merge pull request #2802 from LnL7/fix-needs-hashrewrite | Eelco Dolstra | |
build: move needsHashRewrite initialization to startBuilder | |||
2019-05-12 | runProgram: Uncomment chdir support | Graham Christensen | |
2019-05-12 | build: make needsHashRewrite a method | Daiderd Jordan | |
2019-05-12 | handleDiffHook: stop passing allowVfork | Graham Christensen | |
2019-05-12 | runProgram: support gid, uid, chdir | Graham Christensen | |
2019-05-12 | chdir, setgroups | Graham Christensen | |
2019-05-12 | diff hook: execute as the build user, and pass the temp dir | Graham Christensen | |
2019-05-12 | build: run diff-hook under --check and document diff-hook | Graham Christensen | |
2019-05-12 | build: move needsHashRewrite initialization to startBuilder | Daiderd Jordan | |
The value of useChroot is not set yet in the constructor, resulting in hash rewriting being enabled in certain cases where it should not be. Fixes #2801 | |||
2019-05-11 | nix dev-shell: Ignore SSL_CERT_FILE | Eelco Dolstra | |
2019-05-09 | Fixed issue #47 | Nick Van den Broeck | |
Content hashes | |||
2019-05-08 | Fix assertion failure in FlakeRef::to_string() | Eelco Dolstra | |
Fixes $ nix build nix: src/libexpr/primops/flakeref.cc:169: std::__cxx11::string nix::FlakeRef::to_string() const: Assertion `!rev' failed. Aborted e.g. when flake.nix doesn't exist. Also use gitRev(). | |||
2019-05-08 | Add newline at end of lockfile | Eelco Dolstra | |
Suggested by @grahamc. | |||
2019-05-08 | nix dev-shell: Keep $TERM | Eelco Dolstra | |
2019-05-08 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-05-08 | nix-shell: Don't absolutize '-p' expressions | Eelco Dolstra | |
This prevents spurious syscalls like 25011 lstat("/home/eelco/with import <nixpkgs> { }; (pkgs.runCommandCC or pkgs.runCommand) \"shell\" { buildInputs = [ (hello) ]; } \"\"", 0x7ffe9c67f580) = -1 ENOENT (No such file or directory) | |||
2019-05-08 | nix-shell: Don't fail if run from a path containing the string "nix-shell" | Eelco Dolstra | |
2019-05-08 | Merge remote-tracking branch 'tweag/flake-test' into flakes | Eelco Dolstra | |
2019-05-08 | Merge remote-tracking branch 'tweag/nix-shell' into flakes | Eelco Dolstra | |
2019-05-08 | Export missing rev/shortRev attributes | Eelco Dolstra | |
2019-05-08 | updateLockFile: Do "git add" in a slightly nicer way | Eelco Dolstra | |
"--intent-to-add" ensures the change shows up in "git diff". | |||
2019-05-08 | Merge branch 'repl/ctrlc' of https://github.com/xbreak/nix | Eelco Dolstra | |
2019-05-08 | Merge pull request #2790 from samueldr/fix/minor-comment-NIX_ROOT_FINDER | Eelco Dolstra | |
findRootsNoTemp: fixes comment about findRuntimeRoots | |||
2019-05-07 | Fix immutable flakeref construction | Eelco Dolstra | |
We were appending ref/revs incorrectly for the IsGit case (by appending /<ref>/<rev> rather than ?ref=<ref>&rev=<rev). | |||
2019-05-07 | Improve FlakeRef::to_string() | Eelco Dolstra | |
We were incorrectly using path syntax (i.e. /<ref>/<rev>) for Git repositories. This is only valid for GitHub flakerefs. | |||
2019-05-07 | Make the URL/path of the global flake registry configurable | Eelco Dolstra | |
2019-05-07 | Fixed Flake data type and flake fetching | Nick Van den Broeck | |
2019-05-03 | Add builtins.hashFile | Daniel Schaefer | |
For text files it is possible to do it like so: `builtins.hashString "sha256" (builtins.readFile /tmp/a)` but that doesn't work for binary files. With builtins.hashFile any kind of file can be conveniently hashed. | |||
2019-05-03 | Fix 'git add' when subdir is empty | Eelco Dolstra | |
2019-05-03 | Merge remote-tracking branch 'tweag/subdir' into flakes | Eelco Dolstra | |
2019-05-03 | Fix "Bad system call" running i686-linux binaries on x86_64-linux | Eelco Dolstra | |
To determine which seccomp filters to install, we were incorrectly using settings.thisSystem, which doesn't denote the actual system when --system is used. Fixes #2791. | |||
2019-05-02 | nix dev-shell: Less purity | Eelco Dolstra | |
2019-05-02 | Move createTempFile to libutil | Eelco Dolstra | |
2019-05-02 | nix dev-shell: Execute shellHook | Eelco Dolstra | |