aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-26Clarify uninstallation steps on LinuxLiu Xiaoyi
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-11-21Apply suggestions from code reviewLiu Xiaoyi
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-11-20Updated uninstall guide involving systemdLiu Xiaoyi
Co-authored-by: sequencer <liu@jiuyang.me>
2022-11-16Merge pull request #7134 from yorickvP/disable-dbg-on-completeThéophane Hufschmitt
Temporarily disable the debugger during completion evaluation
2022-11-16Swallow the error in a more idiomatic wayThéophane Hufschmitt
2022-11-15Merge pull request #7294 from tobim/support-aws-sdk-1.10Théophane Hufschmitt
libstore: link to aws-crt-cpp
2022-11-15Merge pull request #7283 from hercules-ci/issue-6572Théophane Hufschmitt
Fix #6572 `requires non-existent output`
2022-11-15Merge pull request #7260 from ncfavier/readFile-scan-referencesThéophane Hufschmitt
Restrict `readFile` context to references that appear in the string
2022-11-14tests: Reproduce #6572Robert Hensing
2022-11-14derivation-goal: Fix `requires non-existing output` errorRobert Hensing
It occurred when a output of the dependency was already available, so it didn't need rebuilding and didn't get added to the inputDrvOutputs. This process-related info wasn't suitable for the purpose of finding the actual input paths for the builder. It is better to do this in absolute terms by querying the store.
2022-11-14Test that the result of `readFile` gets ref-scannedThéophane Hufschmitt
2022-11-14Merge pull request #7295 from Et7f3/pkg-config-lowdownEelco Dolstra
build: use pkg-config for lowdown
2022-11-14Add release-notes for the context-restriction in readFileThéophane Hufschmitt
2022-11-14Merge remote-tracking branch 'nixos/master' into readFile-scan-referencesThéophane Hufschmitt
2022-11-12build: use pkg-config for lowdownEt7f3
2022-11-12libstore: link to aws-crt-cppTobias Mayer
This change is needed to support aws-sdk-cpp 1.10 and newer. I opted not to make this dependent on the sdk version because the crt dependency has been in the interface of the older sdk as well, and it was only coincidence that libstore didn't make use of any privately defined symbols directly.
2022-11-11Merge pull request #7279 from fricklerhandwerk/uninstallThéophane Hufschmitt
add removing users to uninstall instructions
2022-11-11remove stray commaValentin Gagarin
2022-11-11Merge pull request #7229 from Mic92/ciValentin Gagarin
Auto-assign reviewers by file
2022-11-11Restrict `readFile` context to references that appear in the stringNaïm Favier
When calling `builtins.readFile` on a store path, the references of that path are currently added to the resulting string's context. This change makes those references the *possible* context of the string, but filters them to keep only the references whose hash actually appears in the string, similarly to what is done for determining the runtime references of a path.
2022-11-10Merge pull request #7258 from ncfavier/fix-eval-error-fmtThéophane Hufschmitt
Fix printing of eval errors with two format placeholders
2022-11-09Merge pull request #7006 from fricklerhandwerk/redirectsThéophane Hufschmitt
manual: generalize anchor redirects
2022-11-09add removing users to uninstall instructionsValentin Gagarin
2022-11-09Merge pull request #6906 from fricklerhandwerk/language-overviewValentin Gagarin
add syntax overview from NixOS manual
2022-11-09fix typos in commentsValentin Gagarin
2022-11-08Merge pull request #7257 from Artturin/ca-referencesremoveThéophane Hufschmitt
tests/impure-derivations.sh: remove unknown experimental feature 'ca-…
2022-11-07Merge pull request #7264 from patricksjackson/remote-bracketsEelco Dolstra
build-remote: Add brackets to error message
2022-11-07Merge pull request #7267 from fricklerhandwerk/build-taskEelco Dolstra
manual: build action -> build task
2022-11-07Merge pull request #7252 from yorickvP/fix-7175Eelco Dolstra
tarfile: set directory mode to at least 0500, don't extract fflags and perms
2022-11-06manual: build action -> build taskValentin Gagarin
after discussing this with multiple people, I'm convinced that "build task" is more precise: a derivation is not an action, but inert until it is built. also it's easier to pronounce. proposal: use "build task" for the generic concept "description of how to derive new files from the contents of existing files". then it will be easier to distinguish what we mean by "derivation" (a specific data structure and Nix language value type) and "store derivation" (a serialisation of a derivation into a file in the Nix store).
2022-11-04build-remote: Add brackets to error messagePatrick Jackson
2022-11-04Fix printing of eval errors with two format placeholdersNaïm Favier
2022-11-03tests/impure-derivations.sh: remove unknown experimental feature 'ca-references'Artturin
ca-references was stabilized in d589a6aa8a5d0c9f391400d7e0e209106e89c857
2022-11-03Merge pull request #7218 from Gabriella439/headlessEelco Dolstra
Add `--yes` option for Nix installation script
2022-11-03SourceExprCommand: swallow EvalError, add tests for thisYorick van Pelt
Completing things that would error would print an ugly error in the middle of your command line. Avoid printing this error.
2022-11-02Merge pull request #7246 from ↵Eelco Dolstra
NixOS/dependabot/github_actions/cachix/cachix-action-12 Bump cachix/cachix-action from 11 to 12
2022-11-02Temporarily disable the debugger during completion evaluationYorick van Pelt
readline is not re-entrant, so entering the debugger from the completioncallback results in an eventual segfault. The workaround is to temporarily disable the debugger when searching for possible completions.
2022-11-01tarfile: set directory mode to at least 0500, don't extract fflagsYorick van Pelt
We don't need SGID, or any ACL's. We also want to keep every dir +rx.
2022-10-31Bump cachix/cachix-action from 11 to 12dependabot[bot]
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 11 to 12. - [Release notes](https://github.com/cachix/cachix-action/releases) - [Commits](https://github.com/cachix/cachix-action/compare/v11...v12) --- updated-dependencies: - dependency-name: cachix/cachix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31Merge pull request #7231 from jfroche/fix/savedArgv-accessEelco Dolstra
Move savedArgv into libmain
2022-10-31Merge pull request #7039 from Mic92/libfetchers-variantThéophane Hufschmitt
libfetchers: avoid api.github.com ratelimit if no github token is set
2022-10-30Also test github flakes when access tokens are providedJörg Thalheim
2022-10-29Update test after api.github.com ratelimit avoidanceSandro Jäckel
2022-10-28Move savedArgv into libmainJean-François Roche
`savedArgv` is not accessible by plugins when defined in main binary. Moving it into one of the nix lib fix the problem.
2022-10-27assign fricklerhandwerk for documentation releated PRsJörg Thalheim
2022-10-27Merge pull request #7217 from NixOS/restore-nix-build-remoteEelco Dolstra
Fix `nix __build-remote`
2022-10-27Pass the right argv when calling the build hookThéophane Hufschmitt
Call it as `['nix', '__build-remote', ... ]` rather than the previous `["__build-remote", "nix __build-remote", ... ]` which seemed to have been most likely unintended
2022-10-26Merge pull request #7174 from agbrooks/git-tag-bugEelco Dolstra
Prevent fetchGit from using incorrect cached rev for different refs
2022-10-26Merge pull request #7191 from jherland/antiquoted-pathsThéophane Hufschmitt
Explain how Nix handles antiquotation of paths
2022-10-26Fix `nix __build-remote`Théophane Hufschmitt
Because of a wrong index, `nix __build-remote` wasn't working. Fix the index to restore the command (and the build hook).