Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-09-10 | Typo | Eelco Dolstra | 1 | -1/+1 | |
2017-09-10 | nix build: Only download the requested derivation outputs | Eelco Dolstra | 5 | -18/+52 | |
Also some refactoring. | |||||
2017-09-08 | nix copy: Add --substitute flag | Eelco Dolstra | 1 | -1/+9 | |
2017-09-08 | nix copy: Don't open the --from store twice | Eelco Dolstra | 1 | -1/+1 | |
2017-09-08 | nix copy: Add examples | Eelco Dolstra | 1 | -1/+9 | |
2017-09-07 | nix search: Add examples | Eelco Dolstra | 1 | -0/+18 | |
2017-09-07 | nix eval: Add examples | Eelco Dolstra | 1 | -0/+18 | |
2017-09-07 | nix log: Add examples | Eelco Dolstra | 1 | -1/+19 | |
2017-09-07 | nix build: Add examples | Eelco Dolstra | 1 | -0/+14 | |
2017-09-07 | nix run: Add some examples | Eelco Dolstra | 1 | -0/+18 | |
2017-09-06 | nix build: Add --out-link and --no-link options | Eelco Dolstra | 3 | -10/+24 | |
2017-09-06 | nix build: Create result symlinks | Eelco Dolstra | 4 | -42/+105 | |
2017-09-01 | Fix verbosity level for nix build --dry-run | Eelco Dolstra | 2 | -2/+2 | |
2017-08-31 | Add an activity for binary cache queries | Eelco Dolstra | 1 | -3/+10 | |
2017-08-31 | More macOS build fixes | Eelco Dolstra | 1 | -1/+3 | |
2017-08-31 | Fix build failure on non-Linux | Eelco Dolstra | 1 | -1/+1 | |
https://hydra.nixos.org/build/59649086 | |||||
2017-08-29 | nix edit / log: Operate on a single Installable | Eelco Dolstra | 6 | -89/+100 | |
2017-08-29 | nix search: Warn about cached results | Eelco Dolstra | 1 | -0/+2 | |
2017-08-29 | nix run: Flush the progress bar before starting the command | Eelco Dolstra | 5 | -19/+28 | |
2017-08-29 | nix run: Add some flags for clearing/keeping the environment | Eelco Dolstra | 1 | -0/+49 | |
This is useful for testing commands in isolation. For example, $ nix run nixpkgs.geeqie -i -k DISPLAY -k XAUTHORITY -c geeqie runs geeqie in an empty environment, except for $DISPLAY and $XAUTHORITY. | |||||
2017-08-29 | nix run: Allow passing a command to execute | Eelco Dolstra | 1 | -2/+14 | |
E.g. nix run nixpkgs.hello -c hello --greeting Hallo Note that unlike "nix-shell --command", no quoting of arguments is necessary. "-c" (short for "--command") cannot be combined with "--" because they both consume all remaining arguments. But since installables shouldn't start with a dash, this is unlikely to cause problems. | |||||
2017-08-29 | nix run: Fix chroot execution | Eelco Dolstra | 2 | -60/+110 | |
Running "nix run" with a diverted store, e.g. $ nix run --store local?root=/tmp/nix nixpkgs.hello stopped working when Nix became multithreaded, because unshare(CLONE_NEWUSER) doesn't work in multithreaded processes. The obvious solution is to terminate all other threads first, but 1) there is no way to terminate Boehm GC marker threads; and 2) it appears that the kernel has a race where unshare(CLONE_NEWUSER) will still fail for some indeterminate amount of time after joining other threads. So instead, "nix run" will now exec() a single-threaded helper ("nix __run_in_chroot") that performs the actual unshare()/chroot()/exec(). | |||||
2017-08-29 | Hide commands that don't have a description | Eelco Dolstra | 1 | -2/+5 | |
These are assumed to be internal. | |||||
2017-08-28 | Give activities a verbosity level again | Eelco Dolstra | 2 | -3/+6 | |
And print them (separately from the progress bar) given sufficient -v flags. | |||||
2017-08-28 | Simplify | Eelco Dolstra | 1 | -15/+12 | |
2017-08-25 | Simplify | Eelco Dolstra | 1 | -15/+12 | |
2017-08-25 | Doh | Eelco Dolstra | 1 | -0/+1 | |
2017-08-25 | Allow derivations to update the build phase | Eelco Dolstra | 1 | -7/+18 | |
So the progress bar can show [1/0/1 built, 0.0 MiB DL] building hello-2.10 (configuring): checking whether pread is declared without a macro... yes | |||||
2017-08-25 | Allow activities to be nested | Eelco Dolstra | 1 | -2/+26 | |
In particular, this allows more relevant activities ("substituting X") to supersede inferior ones ("downloading X"). | |||||
2017-08-25 | Fix Debian build | Eelco Dolstra | 1 | -1/+3 | |
https://hydra.nixos.org/build/59390148 | |||||
2017-08-25 | Handle SIGWINCH | Eelco Dolstra | 1 | -8/+1 | |
2017-08-25 | When truncating the progress bar, take ANSI escape sequences into account | Eelco Dolstra | 1 | -4/+41 | |
2017-08-25 | Restore activity metadata | Eelco Dolstra | 1 | -1/+9 | |
This allows the progress bar to display "building perl-5.22.3" instead of "building /nix/store/<hash>-perl-5.22.3.drv". | |||||
2017-08-21 | Remove debug line | Eelco Dolstra | 1 | -2/+0 | |
2017-08-16 | nix verify: Restore the progress indicator | Eelco Dolstra | 2 | -14/+40 | |
2017-08-16 | nix optimise-store: Show how much space has been freed | Eelco Dolstra | 1 | -43/+64 | |
2017-08-16 | nix optimise-store: Add | Eelco Dolstra | 2 | -4/+47 | |
This replaces "nix-store --optimise". Main difference is that it has a progress indicator. | |||||
2017-08-16 | Progress indicator: Cleanup | Eelco Dolstra | 1 | -50/+59 | |
2017-08-16 | Progress indicator: More improvements | Eelco Dolstra | 1 | -58/+51 | |
2017-08-16 | Progress indicator: Show number of active items | Eelco Dolstra | 1 | -3/+6 | |
2017-08-16 | Progress indicator: Unify "copying" and "substituting" | Eelco Dolstra | 1 | -65/+5 | |
They're the same thing after all. Example: $ nix build --store local?root=/tmp/nix nixpkgs.firefox-unwrapped [0/1 built, 49/98 copied, 16.3/92.8 MiB DL, 55.8/309.2 MiB copied] downloading 'https://cache.nixos.org/nar/0pl9li1jigcj2dany47hpmn0r3r48wc4nz48v5mqhh426lgz3bz6.nar.xz' | |||||
2017-08-16 | Improve substitution progress indicator | Eelco Dolstra | 2 | -75/+32 | |
E.g. $ nix build --store local?root=/tmp/nix nixpkgs.firefox-unwrapped [0/1 built, 1/97/98 fetched, 65.8/92.8 MiB DL, 203.2/309.2 MiB copied] downloading 'https://cache.nixos.org/nar/1czm9fk0svacy4h6a3fzkpafi4f7a9gml36kk8cq1igaghbspg3k.nar.xz' | |||||
2017-08-16 | nix copy: Improve progress indicator | Eelco Dolstra | 1 | -32/+67 | |
It now shows the amount of data copied: [8/1038 copied, 160.4/1590.9 MiB copied] copying path '...' | |||||
2017-08-16 | nix copy: Revive progress bar | Eelco Dolstra | 1 | -0/+46 | |
2017-08-16 | nix copy: Add --no-check-sigs flag | Eelco Dolstra | 1 | -1/+9 | |
2017-08-09 | nix repl: Support printing floating-point numbers | Eelco Dolstra | 1 | -0/+4 | |
2017-07-30 | Replace Unicode quotes in user-facing strings by ASCII | Jörg Thalheim | 15 | -38/+38 | |
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g" | |||||
2017-07-26 | nix search: Add a cache | Eelco Dolstra | 1 | -9/+69 | |
The package list is now cached in ~/.cache/nix/package-search.json. This gives a substantial speedup to "nix search" queries. For example (on an SSD): First run: (no package search cache, cold page cache) $ time nix search blender Attribute name: nixpkgs.blender Package name: blender Version: 2.78c Description: 3D Creation/Animation/Publishing System real 0m6.516s Second run: (package search cache populated) $ time nix search blender Attribute name: nixpkgs.blender Package name: blender Version: 2.78c Description: 3D Creation/Animation/Publishing System real 0m0.143s | |||||
2017-07-20 | nix-shell: Use bashInteractive from <nixpkgs> | Eelco Dolstra | 1 | -3/+3 | |
This adds about 0.1s to nix-shell runtime in the case where bashInteractive already exists. See discussion at https://github.com/NixOS/nixpkgs/issues/27493. | |||||
2017-07-20 | nix search: Ignore top-level eval errors | Eelco Dolstra | 2 | -2/+13 | |
$NIX_PATH may contain elements that don't evaluate to an attrset (like "nixos-config"), so ignore those. |