Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-21 | Fix clang build | Eelco Dolstra | |
2021-01-20 | Merge pull request #4281 from lilyball/shebang | Eelco Dolstra | |
Escape filename given to nix-shell in shebang mode | |||
2021-01-18 | nix profile install: Support installing non-flakes | Eelco Dolstra | |
Fixes #4458. | |||
2021-01-18 | Use enumerate() | Eelco Dolstra | |
2021-01-18 | --refresh: Imply setting .narinfo disk cache TTL to 0 | Eelco Dolstra | |
2021-01-18 | Merge branch 'slashes-in-github-branches' of https://github.com/Ma27/nix | Eelco Dolstra | |
2021-01-18 | Merge pull request #4460 from NixOS/ca/fix-ca-flake-outputs | Eelco Dolstra | |
Fix content-addressed flake outputs | |||
2021-01-18 | Fix content-addressed flake outputs | regnat | |
Prevent some `nix flake` commands to crash by trying to parse a placeholder output as a store path | |||
2021-01-18 | Merge pull request #4459 from NixOS/ca/fix-outputmap-for-no-ca | Eelco Dolstra | |
Fix the drv output map for non ca derivations | |||
2021-01-18 | Fix the drv output map for non ca derivations | regnat | |
With the `ca-derivation` experimental features, non-ca derivations used to have their output paths returned as unknown as long as they weren't built (because of a mistake in the code that systematically erased the previous value) | |||
2021-01-17 | Tweak | Eelco Dolstra | |
2021-01-17 | Merge pull request #4454 from ryneeverett/ping-store-output-docs | Domen Kožar | |
Document expected output of 'nix store ping'. | |||
2021-01-16 | Document expected output of 'nix store ping'. | ryneeverett | |
While interpreting the output is fairly intuitive it would be better to explicitly specify what a good invocation looks like. That this isn't completely obvious (or at least causes folks to second-guess themselves) can be seen in a couple user threads: - https://discourse.nixos.org/t/nixos-cache-fetching-issue/3575/11 - https://discourse.nixos.org/t/newbie-question-cant-get-trivial-example-of-nixops-to-work-on-my-mac/1125/8 | |||
2021-01-15 | Merge pull request #4240 from bburdette/2259-error-message | Domen Kožar | |
2259 error message - "auto-call" error | |||
2021-01-15 | Fix gcc10 build | Jonathan Ringer | |
2021-01-14 | Add 'nix daemon' command | Eelco Dolstra | |
2021-01-13 | Typo | Eelco Dolstra | |
2021-01-13 | Rename 'nix store sign-paths' to 'nix store sign' | Eelco Dolstra | |
2021-01-13 | Add 'nix store repair' command | Eelco Dolstra | |
2021-01-13 | Convert option descriptions to Markdown | Eelco Dolstra | |
2021-01-13 | Merge pull request #4444 from matthewbauer/unset-curproc-arch-affinity | Eelco Dolstra | |
Set kern.curproc_arch_affinity=0 to escape Rosetta | |||
2021-01-13 | Merge pull request #4443 from rickynils/prefer-local-build-respect-zero-max-jobs | Eelco Dolstra | |
Don't let 'preferLocalBuild' override 'max-jobs=0' | |||
2021-01-13 | Remove a redundant condition in DerivationGoal::tryLocalBuild() | Rickard Nilsson | |
2021-01-12 | Add 'nix profile history' command | Eelco Dolstra | |
Replaces 'nix-env --list-generations'. Similar to 'nix profile diff-closures' but shows only the changes in top-level packages. | |||
2021-01-12 | nix profile info -> nix profile list | Eelco Dolstra | |
2021-01-11 | Set kern.curproc_arch_affinity=0 to escape Rosetta | Matthew Bauer | |
By default, once you enter x86_64 Rosetta 2, macOS will try to run everything in x86_64. So an x86_64 Nix will still try to use x86_64 even when system = aarch64-darwin. To avoid this we can set kern.curproc_arch_affinity sysctl. With kern.curproc_arch_affinity=0, we ignore this preference. This is based on how https://opensource.apple.com/source/system_cmds/system_cmds-880.40.5/arch.tproj/arch.c.auto.html works. Completely undocumented, but seems to work! Note, you can verify this works with this impure Nix expression: ``` { a = derivation { name = "a"; system = "aarch64-darwin"; builder = "/bin/sh"; args = [ "-e" (builtins.toFile "builder" '' [ "$(/usr/bin/arch)" = arm64 ] [ "$(/usr/bin/arch -arch x86_64 /bin/sh -c /usr/bin/arch)" = i386 ] [ "$(/usr/bin/arch -arch arm64 /bin/sh -c /usr/bin/arch)" = arm64 ] /usr/bin/touch $out '') ]; }; b = derivation { name = "b"; system = "x86_64-darwin"; builder = "/bin/sh"; args = [ "-e" (builtins.toFile "builder" '' [ "$(/usr/bin/arch)" = i386 ] [ "$(/usr/bin/arch -arch x86_64 /bin/sh -c /usr/bin/arch)" = i386 ] [ "$(/usr/bin/arch -arch arm64 /bin/sh -c /usr/bin/arch)" = arm64 ] /usr/bin/touch $out '') ]; }; } ``` | |||
2021-01-12 | Don't let 'preferLocalBuild' override 'max-jobs=0' | Rickard Nilsson | |
This resolves #3810 by changing the behavior of `max-jobs = 0`, so that specifying the option also avoids local building of derivations with the attribute `preferLocalBuild = true`. | |||
2021-01-11 | Add 'nix store delete' command | Eelco Dolstra | |
2021-01-11 | Tweak | Eelco Dolstra | |
2021-01-11 | nix store prefetch-tarball -> nix flake prefetch | Eelco Dolstra | |
2021-01-11 | Merge pull request #4435 from DanilaFe/flake-input-types | Eelco Dolstra | |
Allow Flake inputs to accept boolean and integer attributes | |||
2021-01-10 | Add 'nix store gc' command | Eelco Dolstra | |
2021-01-08 | Upcase "Boolean" in Flake attribute type error | Danila | |
Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2021-01-08 | Fix tests | Eelco Dolstra | |
2021-01-08 | Support binary unit prefixes in command line arguments | Eelco Dolstra | |
2021-01-08 | string2Int(): Return std::optional | Eelco Dolstra | |
2021-01-08 | Remove unused mkFlag1 | Eelco Dolstra | |
2021-01-08 | Remove mkFlag integer specialisation | Eelco Dolstra | |
2021-01-08 | Remove mkIntFlag | Eelco Dolstra | |
2021-01-08 | Use switch statement instead of sequence of ifs | Danila Fedorin | |
2021-01-08 | Allow Flake inputs to accept boolean and integer attributes | Danila Fedorin | |
I believe that this makes it possible to do things like Git inputs with submodules, but it also likely applies to other input types from libfetchers. | |||
2021-01-07 | Merge pull request #4434 from NixOS/nix-prefetch | Eelco Dolstra | |
Add 'nix store prefetch-{file,tarball}' | |||
2021-01-07 | Add 'nix store prefetch-{file,tarball}' | Eelco Dolstra | |
These replace nix-prefetch-url and nix-prefetch-url --unpack, respectively. | |||
2021-01-06 | Make sodium a required dependency | Eelco Dolstra | |
2021-01-06 | Add commands for generating secret/public keys | Eelco Dolstra | |
2021-01-06 | crypto.cc: API cleanup and add generate() / to_string() methods | Eelco Dolstra | |
2021-01-06 | Move sodium_init() call | Eelco Dolstra | |
2021-01-06 | Merge pull request #4310 from matthewbauer/rosetta2-extra-platforms | Eelco Dolstra | |
Add x86_64-darwin and aarch64 to "extra-platforms" automatically when Rosetta2 is detected | |||
2021-01-05 | Fix deadlock in LocalStore::addSignatures() | Eelco Dolstra | |
Fixes #4367. | |||
2021-01-05 | Merge pull request #4424 from DanilaFe/fix-attr-from-json | Eelco Dolstra | |
Fix conversion from JSON to fetch attributes |