aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-06add flake-compat to flake.nix and use sha256 in default.nixEdwin Mackenzie-Owen
2023-03-06Merge pull request #7580 from fricklerhandwerk/nix-team-add-johnEelco Dolstra
add @Ericson2314 to the Nix team
2023-03-06Merge pull request #7957 from NixOS/update-cachix-install-nixEelco Dolstra
Switch to cachix/install-nix-action@v20
2023-03-06Merge pull request #7958 from amesgen/issue-7955Eelco Dolstra
InstallableFlake: Apply nix config in `getCursors`
2023-03-06Merge pull request #7975 from fricklerhandwerk/fix-fetchgitEelco Dolstra
remove indentation in `fetchGit` attribute listing
2023-03-06Merge pull request #7376 from fricklerhandwerk/installableThéophane Hufschmitt
clarify definition of "installable"
2023-03-06output paths of store derivations are now addressed explicitlyValentin Gagarin
2023-03-05remove indentation in `fetchGit` attribute listingValentin Gagarin
also reword a confusing sentence and add links to Git terminology
2023-03-05clarify definition of "installable"Valentin Gagarin
the term was hard to discover, as its definition and explanation were in a very long document lacking an overview section. search did not help because it occurs so often. - clarify wording in the definition - add an overview of installable types - add "installable" to glossary - link to definition from occurrences of the term - be more precise about where store derivation outputs are processed - installable Nix expressions must evaluate to a derivation Co-authored-by: Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com>
2023-03-05make descriptions of each installable type an own subsectionValentin Gagarin
this is easier to edit, provides anchors for free, and renders correctly on the terminal without additional effort.
2023-03-04InstallableFlake: Apply nix config in `getCursors`amesgen
2023-03-04Switch to cachix/install-nix-action@v20Théophane Hufschmitt
Fixes the installation issue with the latest Nix. Also revert the pinning to nix-2.13 since it's not needed any more.
2023-03-03Merge pull request #7918 from zimbatm/fix-empty-nix-store-envEelco Dolstra
treat empty NIX_STORE_DIR env vars as unset
2023-03-03fixup: use same style as getEnvzimbatm
2023-03-03fixup: remove warning entirelyzimbatm
fixes https://github.com/NixOS/nix/pull/7918/files/72e1e230517b1e774d2db97cf9d4750e31ebcaa3#r1124211067
2023-03-03Merge pull request #7946 from cole-h/restore-static-bin-distEelco Dolstra
flake: restore binary-dist artifact to Hydra static builds
2023-03-03Merge pull request #7942 from edolstra/remove-formatEelco Dolstra
Remove FormatOrString and remaining uses of format()
2023-03-03Merge pull request #7949 from fricklerhandwerk/pr-tempateEelco Dolstra
remove stale pull request template
2023-03-03Merge pull request #7605 from tweag/commentsValentin Gagarin
add comments
2023-03-03remove stale pull request templateValentin Gagarin
the old one seems not to be picked up by GitHub anyway
2023-03-02Merge pull request #7594 from nrdxp/paths-from-stdinThéophane Hufschmitt
feat: read installable paths from stdin
2023-03-02Merge branch 'master' into paths-from-stdinThéophane Hufschmitt
2023-03-02flake: restore binary-dist artifact to Hydra static buildsCole Helbling
2023-03-02Merge pull request #7943 from edolstra/fix-make-checkEelco Dolstra
Fix 'make check' inside 'nix develop'
2023-03-02Merge pull request #7940 from tweag/fix-http-errors-encodingEelco Dolstra
Log the decompressed body in case of http errors
2023-03-02Update src/libutil/util.ccJonas Chevalier
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
2023-03-02Fix 'make check' inside 'nix develop'Eelco Dolstra
2023-03-02Remove FormatOrString and remaining uses of format()Eelco Dolstra
2023-03-02Merge pull request #7941 from edolstra/stdoutEelco Dolstra
Check writes to stdout
2023-03-02Get rid of some unchecked calls to std::coutEelco Dolstra
2023-03-02Log the decompressed body in case of http errorsThéophane Hufschmitt
Don't show the users the raw (possibly compressed) error message as everyone isn't able to decompress brotli in their brain.
2023-03-02Logger::cout: Use fmt()Eelco Dolstra
This ensures that in cout(s), 's' does not get interpreted as a format string.
2023-03-02nix store cat: Use writeFull()Eelco Dolstra
Fixes #7939.
2023-03-02Logger::writeToStdout(): Use writeFull()Eelco Dolstra
This ensures that write errors do not get ignored.
2023-03-02Merge pull request #7919 from NixOS/bump-2.15.0Eelco Dolstra
Bump version
2023-03-02Bump versionEelco Dolstra
2023-03-02Merge pull request #7901 from hercules-ci/disable-testsEelco Dolstra
Add ./configure --disable-tests option
2023-03-02Merge pull request #7924 from mkenigs/validEelco Dolstra
Always set valid in path-info --json output
2023-03-02Merge pull request #7936 from obsidiansystems/simplify-testEelco Dolstra
Remove needless `--experimental-feature` in a CA drvs test
2023-03-01Remove needless `--experimental-feature` in a CA drvs testJohn Ericson
This is already blanket enabled for these tests
2023-03-01Merge pull request #7925 from cole-h/fixup-xdg-nix-envEelco Dolstra
Check if NIX_LINK_NEW exists instead of checking that NIX_LINK doesn't exist
2023-03-01Treat empty env var paths as unsetFélix Baylac Jacqué
We make sure the env var paths are actually set (ie. not "") before sending them to the canonicalization function. If we forget to do so, the user will end up facing a puzzled failed assertion internal error. We issue a non-failing warning as a stop-gap measure. We could want to revisit this to issue a detailed failing error message in the future.
2023-03-01Merge pull request #7932 from obsidiansystems/remove-sameMachineThéophane Hufschmitt
Remove dead code `RemoteStore::sameMachine`
2023-03-01Merge pull request #7854 from aameen-tulip/patch-1Valentin Gagarin
2023-03-01Remove dead code `RemoteStore::sameMachine`John Ericson
It has been dead code since 9747ea84b43c75f719d719673b9d0a7cb50d34e5.
2023-03-01Merge pull request #7788 from ↵Valentin Gagarin
bobvanderlinden/pr-improve-nix-profile-install-error Improve error on conflict for nix profile install
2023-03-01nix-profile: add FIXME about using C++20 std::rangesBob van der Linden
2023-02-28WIP: pin cachix actions to 2.13.3 to see if CI will passCole Helbling
2023-02-28Check if NIX_LINK_NEW exists instead of checking that NIX_LINK doesn't existCole Helbling
For brand new installations, neither NIX_LINK_NEW (`$XDG_STATE_HOME/nix/profile` or `~/.local/state/nix/profile`), nor NIX_LINK (`~/.nix-profile`) will exist. This restores functionality to nix-env, which is relied upon by GitHub Actions such as https://github.com/cachix/cachix-action and the Nixpkgs EditorConfig (and other) CI.
2023-02-28Always set valid in path-info --json outputMatthew Kenigsberg
Currently the valid key is only present when the path is invalid, which makes checking path validity more complex than it should be. With this change, the valid key can always be used to check if a path is valid