aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-09Merge branch 'master' into angerman/mac-fix-recursive-nixEelco Dolstra
2023-06-09Parse TOML timestamps (#8120)Andrea Bedini
Currently `fromTOML` throws an exception when encountering a timestamp since the Nix language lacks a way to represent them. This patch changes this beaviour and makes `fromTOML` parse timestamps as attrsets of the format { _type = "timestamp"; value = "1979-05-27T07:32:00Z"; } This is guarded by an experimental feature flag to leave room for iterating on the representation.
2023-06-06Merge pull request #8463 from edolstra/release-artifactsEelco Dolstra
Upload manual + fallback-paths.nix in the release script
2023-06-06Upload the manual to releases.nixos.orgEelco Dolstra
Fixes #8451.
2023-06-06Fix MIME typeEelco Dolstra
2023-06-06Upload fallback-paths.nix as part of the releaseEelco Dolstra
https://github.com/NixOS/nixpkgs/pull/235463
2023-06-06Merge pull request #8429 from svenz/masterEelco Dolstra
Update install-multi-user.sh
2023-06-06Merge pull request #8391 from ↵Eelco Dolstra
aneeshusa/remove-wrong-default-value-in-docs-for-hashed-mirrors Remove old default from docs for `hashed-mirrors`
2023-06-06Merge pull request #8438 from zhaofengli/armv5tel-linux32Eelco Dolstra
Also set the PER_LINUX32 personality flag on armv5tel-linux
2023-06-06Merge pull request #8456 from emilytrau/include-selectEelco Dolstra
Add missing <sys/select.h> include
2023-06-06Merge pull request #8452 from edolstra/fix-relative-symlinksEelco Dolstra
SourcePath::resolveSymlinks(): Fix handling of symlinks that start with '..'
2023-06-06Fix SourcePath::resolveSymlinks()Eelco Dolstra
This fixes handling of symlinks that start with '..', and symlink targets that contain symlinks themselves.
2023-06-05Add missing <sys/select.h> includeEmily Trau
`select()` may not be ambiently available for use on every platform
2023-06-05Merge pull request #8448 from figsoda/manValentin Gagarin
2023-06-04Fix code block formatting in man pagefigsoda
2023-06-02Document manual migration for use-xdg-base-directories (#8044)Alexander Bantyev
* Document manual migration for use-xdg-base-directories As there's currently no automatic migration for use-xdg-base-directories option, add instructions for manual migration to the option's description. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-06-02Merge pull request #8317 from fricklerhandwerk/doc-identifierThéophane Hufschmitt
document identifier syntax for attribute sets
2023-06-02Also set the PER_LINUX32 personality flag on armv5tel-linuxZhaofeng Li
2023-06-01Update install-multi-user.shsvenz
delete duplicate word 'with' in status message
2023-05-31Merge pull request #8425 from NixOS/bump-2.17.0Eelco Dolstra
Bump version to 2.17
2023-05-31Bump versionEelco Dolstra
2023-05-31Merge pull request #8424 from NixOS/release-notesEelco Dolstra
Typo
2023-05-31TypoEelco Dolstra
2023-05-31Merge pull request #8423 from NixOS/release-notesEelco Dolstra
2.16 release notes
2023-05-31Release notesEelco Dolstra
2023-05-31Merge pull request #8415 from ↵Eelco Dolstra
NixOS/dependabot/github_actions/zeebe-io/backport-action-1.3.0 Bump zeebe-io/backport-action from 1.2.0 to 1.3.0
2023-05-31Merge pull request #8421 from fricklerhandwerk/doc-replaceStringsEelco Dolstra
update documentation according to release notes
2023-05-31Merge pull request #8418 from edolstra/fallback-pathsEelco Dolstra
maintainers/upload-release.pl: Don't update nix-fallback-paths.nix
2023-05-31Merge pull request #8318 from fricklerhandwerk/doc-currentTimeValentin Gagarin
document `builtins.currentTime`
2023-05-31Merge pull request #8413 from doronbehar/doc/distributed-builds/clearer-warningValentin Gagarin
distributed-builds.md: Clarify warning ssh access requirements
2023-05-31rewrap lines to use one line per sentenceValentin Gagarin
this makes future reviews easier as it reduces diff noise
2023-05-31distributed-builds.md: Clarify warning ssh access requirementsDoron Behar
2023-05-30update documentation according to release notesValentin Gagarin
2023-05-30link to mentioned builtinValentin Gagarin
2023-05-30Merge pull request #8398 from ↵Robert Hensing
polykernel/perf/lazy-eval-replacements-replacestrings primops: lazy evaluation of replaceStrings replacements
2023-05-30Merge pull request #8406 from NixOS/fix-ca-attrs-falseEelco Dolstra
Restore Nix 2.3 behaviour for {__impure,__contentAddressed} = false
2023-05-30Merge pull request #8414 from ↵Eelco Dolstra
NixOS/dependabot/github_actions/cachix/install-nix-action-21 Bump cachix/install-nix-action from 20 to 21
2023-05-30maintainers/upload-release.pl: Don't update nix-fallback-paths.nixEelco Dolstra
2023-05-29Bump zeebe-io/backport-action from 1.2.0 to 1.3.0dependabot[bot]
Bumps [zeebe-io/backport-action](https://github.com/zeebe-io/backport-action) from 1.2.0 to 1.3.0. - [Release notes](https://github.com/zeebe-io/backport-action/releases) - [Commits](https://github.com/zeebe-io/backport-action/compare/v1.2.0...v1.3.0) --- updated-dependencies: - dependency-name: zeebe-io/backport-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29Bump cachix/install-nix-action from 20 to 21dependabot[bot]
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21) --- 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>
2023-05-27Merge pull request #8399 from tweag/fix-chrooted-stores-error-pathEelco Dolstra
Properly report build errors on chrooted stores
2023-05-27Restore Nix 2.3 behaviour for {__impure,__contentAddressed} = falseEelco Dolstra
Fixes #8405.
2023-05-26Merge pull request #8240 from tweag/macos-sandboxThéophane Hufschmitt
ci: Always run with sandbox, even on Darwin
2023-05-26create pathAccessible, use it to infer default dirsYorick van Pelt
2023-05-26getDefaultNixPath: ignore EPERMYorick van Pelt
2023-05-26Call getDefaultSSLCertFile() only when none is specifiedYorick van Pelt
This does pathExists on various paths, which crashes on EPERM in the macOS sandbox.
2023-05-26ci: Always run with sandbox, even on DarwinSilvan Mosberger
And fix a test failure in the sandbox due to /home existing on Darwin but not being accessible in the sandbox since it's a symlink to /System/Volumes/Data/home, see https://github.com/NixOS/nix/actions/runs/4205378453/jobs/7297384658#step:6:2127: C++ exception with description "error: getting status of /home/schnitzel/darmstadt/pommes: Operation not permitted" thrown in the test body. On Linux this wasn't a problem because there /home doesn't exist in the sandbox
2023-05-25primops: lazy evaluation of replaceStrings replacementspolykernel
The primop `builtins.replaceStrings` currently always strictly evaluates the replacement strings, however time and space are wasted for their computation if the corresponding pattern do not occur in the input string. This commit makes the evaluation of the replacement strings lazy by deferring their evaluation to when the corresponding pattern are matched and memoize the result for efficient retrieval on subsequent matches. The testcases for replaceStrings was updated to check for lazy evaluation of the replacements. A note was also added in the release notes to document the behavior change.
2023-05-25Merge pull request #7948 from mkenigs/ventura-diffThéophane Hufschmitt
installer: don't assume GNU diff
2023-05-25installer: don't assume GNU diffMatthew Kenigsberg
macOS Ventura ships with it's own version of diff. Try to output a similar diff with Apple diff as with GNU diff, instead of failing Helps https://github.com/NixOS/nix/issues/7286