- Jul 11, 2018
-
-
Eelco Dolstra authored
Apparently, on macOS, 'long' != 'int64_t'. https://hydra.nixos.org/build/77100756
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Closes #2282.
-
- Jul 06, 2018
-
-
Eelco Dolstra authored
repl: use `nix build` for building instead of `nix-store -r`
-
- Jul 05, 2018
-
-
Eelco Dolstra authored
[bugfix] lib.concatMap and lib.mapAttrs to be builtins
-
volth authored
-
volth authored
-
Eelco Dolstra authored
[wip] lib.concatMap and lib.mapAttrs to be builtins
-
volth authored
-
volth authored
-
volth authored
-
- Jul 04, 2018
-
-
Eelco Dolstra authored
tests/search.sh: minor fix to unbreak tests after search ux merge
-
- Jul 03, 2018
-
-
Will Dietz authored
-
Eelco Dolstra authored
For example, this allows you to do run nix-daemon as a non-privileged user: eelco$ NIX_STATE_DIR=~/my-nix/nix/var nix-daemon --store ~/my-nix/ The NIX_STATE_DIR is still needed because settings.nixDaemonSocketFile is not derived from settings.storeUri (and we can't derive it from the store's state directory because we don't want to open the store in the parent process).
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This is primarily useful for processing Cargo.lock files.
-
Eelco Dolstra authored
Even on 32-bit systems, Value has enough space to hold a double.
-
Eelco Dolstra authored
nix why-depends: render output into $PAGER
-
Maximilian Bosch authored
-
- Jul 02, 2018
-
-
Eelco Dolstra authored
search.cc: improve UX for `nix search`
-
Maximilian Bosch authored
As proposed in #1634 the `nix search` command could use some improvements. Initially 0413aeb3 added some basic sorting behavior using `std::map`, a next step would be an improvement of the output. This patch includes the following changes: * Use `$PAGER` for outputs with `RunPager` from `shared.hh`: The same behavior is defined for `nix-env --query`, furthermore it makes searching huge results way easier. * Simplified result blocks: The new output is heavily inspired by the output from `nox`, the first line shows the attribute path and the derivaiton name (`attribute path (derivation name)`) and the description in the second line.
-
- Jun 23, 2018
-
-
Will Dietz authored
progress bar!
-
- Jun 21, 2018
-
-
Eelco Dolstra authored
docker: move the docker file to https://github.com/NixOS/docker
-
https://github.com/NixOS/dockerPeter Simons authored
We have automated builds at https://hub.docker.com/r/nixos/nix/ now. The master branch of the "docker" repository is available as "latest". Branches that match the regular expression "^[0-9.]+$" are pushed to the tag that corresponds to their branch name. Other branches are ignored.
-
- Jun 19, 2018
-
-
Eelco Dolstra authored
progress-bar: refresh occasionally even if no updates are received
-
- Jun 18, 2018
-
-
Shea Levy authored
release-common: prefer utillinuxMinimal to reduce compile-time deps
-
Will Dietz authored
Slightly nicer behavior when updates are somewhat far apart (during a long linking step, perhaps) ensuring things don't appear unresponsive. If we wait the maximum amount for the update, don't bother waiting another 50ms (for rate-limiting purposes) and just check if we should quit. This also ensures we'll notice the request to quit within 1s if quit is signalled but there is not an udpate. (I'm not sure if this happens or not)
-
Will Dietz authored
-
Will Dietz authored
Honestly could probably use busybox here instead, but at least with utillinuxMinimal there's no build-time dependency on systemd.
-
Eelco Dolstra authored
Fixes #2225.
-
Eelco Dolstra authored
libstore/gc.cc: ignore ESRCH when reading symlinks in /proc
-
- Jun 16, 2018
-
-
Symphorien Gibol authored
readlink is also affected by the problem fixed for regular files in c567afe355df
-
- Jun 14, 2018
-
-
Eelco Dolstra authored
Fix optimise-store.cc to skip more paths on macOS
-
Matthew Justin Bauer authored
I hate to make this such a large check but the lack of documentation means we really have no idea what's allowed. All of them reported so far have been within ".app/Contents" directories. That appears to be a safe starting point. However, I would not be surprised to also find more paths that are disallowed for instance in .framework or .bundle directories. Fixes #2031 Fixes #2229
-
- Jun 13, 2018
-
-
Eelco Dolstra authored
This makes 'nix copy' and 'nix path-info' work on .drv store paths. Removing special treatment of .drv files seems the most future-proof approach given the possible removal of .drv files in the future. Note that 'nix build' will still build (rather than substitute) .drv paths due to the unfortunate overloading in Store::buildPaths().
-
Eelco Dolstra authored
This makes 'nix copy --to /mnt /nix/store/bla.drv' work.
-
Eelco Dolstra authored
The former is removed in C++17.
-
- Jun 12, 2018
-
-
Eelco Dolstra authored
EvalState contains a few counters (e.g. nrValues) that increase quickly enough that they end up being interpreted as pointers by the garbage collector. Moving it to the heap makes them invisible to the garbage collector. This reduces the max RSS doing 100 evaluations of nixos.tests.firefox.x86_64-linux.drvPath from 455 MiB to 292 MiB. Note: ideally, allocations would be much further up in the 64-bit address space to reduce the odds of an integer being misinterpreted as a pointer. Maybe we can use some linker magic to move the .bss segment to a higher address.
-
Eelco Dolstra authored
This makes it possible to build with -DGC_DEBUG.
-
Eelco Dolstra authored
This reduces the risk of object liveness misdetection. For example, Glibc has an internal variable "mp_" that often points to a Boehm object, keeping it alive unnecessarily. Since we don't store any actual roots in global variables, we can just disable data segment scanning. With this, the max RSS doing 100 evaluations of nixos.tests.firefox.x86_64-linux.drvPath went from 718 MiB to 455 MiB.
-