aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-23SSHStore / LegacySSHStore: Show a better error message if the remote is ↵Eelco Dolstra
"nologin" Instead of error: serialised integer 7161674624452356180 is too large for type 'j' we now get error: 'nix-store --serve' protocol mismatch from 'sshtest@localhost', got 'This account is currently not available.' Fixes https://github.com/NixOS/nixpkgs/issues/37287.
2021-09-23Remove risky char *Eelco Dolstra
2021-09-23Add some more instrumentationEelco Dolstra
2021-09-23Merge pull request #5284 from edolstra/revert-4922Eelco Dolstra
Revert "Merge pull request #4922 from nrdxp/default-submodules"
2021-09-22Revert "Merge pull request #4922 from nrdxp/default-submodules"Eelco Dolstra
This reverts commit 6678e98411cd3bfe8143a4ba1b35d1451babce32, reversing changes made to 90b2dd570cbd8313a8cf45b3cf66ddef2bb06e07.
2021-09-22Disable IFD selectivelyEelco Dolstra
It's now disabled by default for the following: * 'nix search' (this was already implied by read-only mode) * 'nix flake show' * 'nix flake check', but only on the hydraJobs output
2021-09-22Make setDefault() typedEelco Dolstra
2021-09-22QuietEelco Dolstra
2021-09-22Don't cache realiseContext() errorsEelco Dolstra
Errors that depend on the configuration (such as whether allow-import-from-derivation is set) should not be cached.
2021-09-22Add missing #includeEelco Dolstra
Fixes #5282.
2021-09-22Merge pull request #5281 from abathur/install_macos_montereyEelco Dolstra
fix install on macOS monterey
2021-09-21fix install on macOS montereyTravis A. Everett
2021-09-21Merge pull request #5279 from edolstra/restrict-path-inputsEelco Dolstra
Fix relative path input handling
2021-09-21Set input parent at construction timeEelco Dolstra
2021-09-21Allow relative paths anywhere into the parent's store pathEelco Dolstra
2021-09-21path fetcher: Fix relative path checkEelco Dolstra
2021-09-20Merge pull request #5277 from NixOS/regnat/ci-better-cache-usageEelco Dolstra
flake: Use the real nixUnstable from nixpkgs
2021-09-20flake: Use the real nixUnstable from nixpkgsregnat
Don’t let it pick our overriden lowdown as that would cause it not to be cached in cache.nixos.org
2021-09-20Merge pull request #5266 from gkleen/fix/s3-cache-schemeEelco Dolstra
Fix scheme query parameter for s3 cache
2021-09-17Fix scheme argument to s3 cacheGregor Kleen
2021-09-17Merge pull request #5263 from greedy/fix-5261Eelco Dolstra
Include subpath in flake fingerprint
2021-09-16Include subpath in flake fingerprintGeoff Reedy
Without this, flakes within the same tree and same lock data will have the same fingerprint and the eval cache for one flake will be incorrectly used for another.
2021-09-15Merge pull request #5257 from edolstra/dirty-lock-fileEelco Dolstra
If we can't write a lock file, pretend the top-level flake is dirty
2021-09-15Merge branch 'mh/fix-chroot-eval' of https://github.com/obsidiansystems/nixEelco Dolstra
2021-09-15If we can't write a lock file, pretend the top-level flake is dirtyEelco Dolstra
Alternative to #4639. You can still read flake.lock, but at least in reproducible workflows like NixOS configurations where you require a non-dirty tree, evaluation will fail because there is no rev.
2021-09-15Revert "Disallow reading flake.lock"Eelco Dolstra
This reverts commit e5596113f7fc5e47e058bb15afdf75eee02ed95e.
2021-09-15Merge pull request #5251 from emilazy/darwin-sandbox-rosetta-2Eelco Dolstra
sandbox: allow Rosetta 2 on Darwin
2021-09-15sandbox: allow Rosetta 2 on DarwinEmily
This allows sandboxed x86_64-darwin builds on aarch64-darwin.
2021-09-14Rename unnecessary git@Eelco Dolstra
2021-09-14Merge pull request #5249 from edolstra/nix-profileEelco Dolstra
Add missing 'nix profile' subcommands
2021-09-14Merge pull request #5250 from edolstra/censor-flake-lockEelco Dolstra
Disallow reading flake.lock
2021-09-14Disallow reading flake.lockEelco Dolstra
With --no-write-lock-file, it's possible that flake.lock is out of sync with the actual inputs used by the evaluation. So doing fromJSON (readFile ./flake.lock) will give wrong results. Fixes #4639.
2021-09-14nix profile history: Show profile dateEelco Dolstra
2021-09-14Add 'nix profile wipe-history' commandEelco Dolstra
2021-09-14Generations -> profile versionsEelco Dolstra
2021-09-14Fix quotesEelco Dolstra
2021-09-14Add "nix profile rollback" commandEelco Dolstra
2021-09-14nix flake show --json: Add type infoEelco Dolstra
For extensibility, every leaf node is now an object that contains at least a type field (e.g. "type": "derivation").
2021-09-14Merge branch 'tomberek/show_json' of https://github.com/tomberek/nixEelco Dolstra
2021-09-14Merge pull request #5242 from ↵Domen Kožar
NixOS/dependabot/github_actions/cachix/install-nix-action-14 Bump cachix/install-nix-action from 13 to 14
2021-09-14Merge pull request #5247 from edolstra/stablize-ca-referencesEelco Dolstra
Remove the 'ca-references' feature check
2021-09-14Respect NO_COLOR in Markdown outputEelco Dolstra
2021-09-14Bump cachix/install-nix-action from 13 to 14dependabot[bot]
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 13 to 14. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v13...v14) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14Merge pull request #5248 from edolstra/flake-cloneEelco Dolstra
Fix 'nix flake clone' on github repos
2021-09-14Advise using --extra-experimental-features instead of --experimental-featuresEelco Dolstra
Fixes #3737.
2021-09-14Remove the 'ca-references' feature checkEelco Dolstra
Fixes #3422. Fixes #4425.
2021-09-14github fetcher: Don't use HEAD branch when cloningEelco Dolstra
Fixes #4394.
2021-09-14github fetcher: Use git+https for cloningEelco Dolstra
git+ssh only works if you have SSH access.
2021-09-14Merge pull request #5246 from edolstra/faster-checkEelco Dolstra
Speed up 'nix flake check'
2021-09-14Merge pull request #5245 from edolstra/warningsEelco Dolstra
Change warning messages from yellow to magenta