-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Comparing changes
Open a pull request
base repository: NixOS/nix
base: e5ed74ec1e19
head repository: NixOS/nix
compare: 9181b208c973
- 17 commits
- 19 files changed
- 3 contributors
Commits on May 17, 2021
-
Split the parsing of an
App
and its resolvingThat way things (like `nix flake check`) can evaluate the `app` outputs without having to build anything
Configuration menu - View commit details
-
Copy full SHA for ca96f52 - Browse repository at this point
Copy the full SHA ca96f52View commit details -
Source bashrc first in nix develop
~/.bashrc should be sourced first in the rc script so that PATH & other env vars give precedence over the bashrc PATH. Also, in my bashrc I alias rm as: alias rm='rm -Iv' To avoid running this alias (which shows ‘removed '/tmp/nix-shell.*'), we can just prefix rm with command.
Configuration menu - View commit details
-
Copy full SHA for 5fd8cf7 - Browse repository at this point
Copy the full SHA 5fd8cf7View commit details
Commits on May 18, 2021
-
Merge pull request #4825 from NixOS/split-app-parsing-and-resolving
Split the parsing of an `App` and its resolving
Configuration menu - View commit details
-
Copy full SHA for 72356a9 - Browse repository at this point
Copy the full SHA 72356a9View commit details -
Merge pull request #4827 from matthewbauer/run-bashrc-first-in-nix-de…
…velop Source bashrc first in nix develop
Configuration menu - View commit details
-
Copy full SHA for de77d1b - Browse repository at this point
Copy the full SHA de77d1bView commit details -
Restore an accidentally suppressed negation
Accidentally removed in ca96f52. This caused `nix run` to systematically fail with ``` error: app program '/nix/store/…' is not in the Nix store ```
Configuration menu - View commit details
-
Copy full SHA for 59d0de6 - Browse repository at this point
Copy the full SHA 59d0de6View commit details -
Merge pull request #4828 from NixOS/ca/fix-nix-run
Restore an accidentally suppressed negation
Configuration menu - View commit details
-
Copy full SHA for 57f321f - Browse repository at this point
Copy the full SHA 57f321fView commit details -
Fix extra slash in canonPath output
When you have a symlink like: /tmp -> ./private/tmp you need to resolve ./private/tmp relative to /tmp’s dir: ‘/’. Unlike any other path output by dirOf, / ends with a slash. We don’t want trailing slashes here since we will append another slash in the next comoponent, so clear s like we would if it was a symlink to an absoute path. This should fix at least part of the issue in #4822, will need confirmation that it actually fixes the problem to close though. Introduced in f3f2287.
Configuration menu - View commit details
-
Copy full SHA for 3d90ab9 - Browse repository at this point
Copy the full SHA 3d90ab9View commit details
Commits on May 19, 2021
-
Merge pull request #4831 from matthewbauer/fix-extra-slash-in-canon-path
Fix extra slash in canonPath output
Configuration menu - View commit details
-
Copy full SHA for 7234cf3 - Browse repository at this point
Copy the full SHA 7234cf3View commit details -
Extract a generic
computeClosure
functionMove the `closure` logic of `computeFSClosure` to its own (templated) function. This doesn’t bring much by itself (except for the ability to properly test the “closure” functionality independently from the rest), but it allows reusing it (in particular for the realisations which will require a very similar closure computation)
Configuration menu - View commit details
-
Copy full SHA for 1845588 - Browse repository at this point
Copy the full SHA 1845588View commit details -
Always send the realisations as JSON
Align all the worker protocol with `buildDerivation` which inlines the realisations as one opaque json blob. That way we don’t have to bother changing the remote store protocol when the definition of `Realisation` changes, as long as we keep the json backwards-compatible
Configuration menu - View commit details
-
Copy full SHA for a841686 - Browse repository at this point
Copy the full SHA a841686View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05dde12 - Browse repository at this point
Copy the full SHA 05dde12View commit details -
Add a dependencies field to DrvOutputInfo
Currently never used, nor set but will be useful shortly
Configuration menu - View commit details
-
Copy full SHA for 3c72e34 - Browse repository at this point
Copy the full SHA 3c72e34View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb16dad - Browse repository at this point
Copy the full SHA cb16dadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36ebb2c - Browse repository at this point
Copy the full SHA 36ebb2cView commit details -
Add a method to compute the closure of a realisation
Only considers the closure in term of `Realisation`, ignores all the opaque inputs. Dunno whether that’s the nicest solution, need to think it through a bit
Configuration menu - View commit details
-
Copy full SHA for 9160c39 - Browse repository at this point
Copy the full SHA 9160c39View commit details -
Configuration menu - View commit details
-
Copy full SHA for be29c86 - Browse repository at this point
Copy the full SHA be29c86View commit details -
Make
copyPaths
copy the whole realisations closureOtherwise registering the realisations on the remote side might fail as it now expects a complete closure
Configuration menu - View commit details
-
Copy full SHA for 9181b20 - Browse repository at this point
Copy the full SHA 9181b20View commit details
There are no files selected for viewing