Valentin Gagarin
daedaa197d
fix typos in comments
2022-11-09 00:49:34 +01:00
Valentin Gagarin
97a9a8925a
add CODEOWNERS
2022-11-08 23:34:58 +01:00
Eelco Dolstra
05d258667d
Fix build on macOS
2022-11-08 08:00:29 -08:00
Eelco Dolstra
2fde7e0108
Split auto UID allocation from cgroups
...
Cgroups are now only used for derivations that require the uid-range
range feature. This allows auto UID allocation even on systems that
don't have cgroups (like macOS).
Also, make things work on modern systems that use cgroups v2 (where
there is a single hierarchy and no "systemd" controller).
2022-11-08 16:03:42 +01:00
Théophane Hufschmitt and GitHub
37358d0bcf
Merge pull request #7257 from Artturin/ca-referencesremove
...
tests/impure-derivations.sh: remove unknown experimental feature 'ca-…
2022-11-08 09:37:38 +01:00
Eelco Dolstra and GitHub
b378876894
Merge pull request #7264 from patricksjackson/remote-brackets
...
build-remote: Add brackets to error message
2022-11-07 16:59:29 +01:00
Eelco Dolstra and GitHub
995f5f2e41
Merge pull request #7267 from fricklerhandwerk/build-task
...
manual: build action -> build task
2022-11-07 16:58:47 +01:00
Eelco Dolstra and GitHub
4d2244c757
Merge pull request #7252 from yorickvP/fix-7175
...
tarfile: set directory mode to at least 0500, don't extract fflags and perms
2022-11-07 16:56:41 +01:00
mergify[bot] and GitHub
3df51e40ed
Merge pull request #143 from nix-community/update_flake_lock_action
...
flake.lock: Update
2022-11-07 01:48:16 +00:00
github-actions[bot]
69815f48be
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/d40fea9aeb8840fea0d377baa4b38e39b9582458' (2022-10-31)
→ 'github:NixOS/nixpkgs/3bacde6273b09a21a8ccfba15586fb165078fb62' (2022-11-05)
2022-11-07 01:43:55 +00:00
Valentin Gagarin
f7ab93b068
manual: build action -> build task
...
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-06 13:28:18 +01:00
Patrick Jackson
907f52c337
build-remote: Add brackets to error message
2022-11-04 10:49:44 -07:00
Artturin
2320a2f93e
systemd,launchd match nixos open files limit
...
it was bumped in https://github.com/NixOS/nixpkgs/pull/176558
2022-11-04 19:40:16 +02:00
Timothy DeHerrera
c8b52f5836
fix: use InstallableFlake type & methods
...
Fixes #134
Use the `InstallableFlake` type in order to make use of it's `toValue`
method. This fixes the functor auto-call by including the work from
nixos/nix#6404 .
Future work may make use of this object and its methods to employ the
flake based eval cache.
2022-11-04 09:37:54 -06:00
Eelco Dolstra
40911d7dec
Remove stray tab
2022-11-04 13:30:35 +01:00
Eelco Dolstra
6259fd7ea6
Fix indentation
2022-11-04 13:29:39 +01:00
Naïm Favier
dad859ba0f
Fix printing of eval errors with two format placeholders
2022-11-04 12:41:38 +01:00
Artturin
8e7bbc3c35
tests/impure-derivations.sh: remove unknown experimental feature 'ca-references'
...
ca-references was stabilized in d589a6aa8a
2022-11-03 21:53:11 +02:00
Eelco Dolstra and GitHub
499e99d099
Merge pull request #7218 from Gabriella439/headless
...
Add `--yes` option for Nix installation script
2022-11-03 18:12:43 +01:00
Eelco Dolstra
b95faccf03
Merge remote-tracking branch 'origin/master' into auto-uid-allocation
2022-11-03 17:43:40 +01:00
Yorick van Pelt
16f1720fd2
SourceExprCommand: swallow EvalError, add tests for this
...
Completing things that would error would print an ugly error in
the middle of your command line. Avoid printing this error.
2022-11-03 10:11:28 +01:00
mergify[bot] and GitHub
7dcf34a060
Merge pull request #141 from nix-community/update_flake_lock_action
...
flake.lock: Update
2022-11-03 01:54:27 +00:00
github-actions[bot]
6a066bc2b5
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-utils':
'github:numtide/flake-utils/6ee9ebb6b1ee695d2cacc4faa053a7b9baa76817' (2022-10-29)
→ 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/fdebb81f45a1ba2c4afca5fd9f526e1653ad0949' (2022-10-29)
→ 'github:NixOS/nixpkgs/d40fea9aeb8840fea0d377baa4b38e39b9582458' (2022-10-31)
2022-11-03 01:47:46 +00:00
Eelco Dolstra and GitHub
dd1970c233
Merge pull request #7246 from NixOS/dependabot/github_actions/cachix/cachix-action-12
...
Bump cachix/cachix-action from 11 to 12
2022-11-02 15:35:23 +01:00
Yorick van Pelt
444af85552
Temporarily disable the debugger during completion evaluation
...
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-02 13:02:24 +01:00
Yorick van Pelt
34ea0e2e7b
tarfile: set directory mode to at least 0500, don't extract fflags
...
We don't need SGID, or any ACL's. We also want to keep every dir +rx.
2022-11-01 16:01:38 +01:00
Sagar Patel and GitHub
c068cce107
docs: drop shell prompt character for consistency
...
In addition to consistency, the fancy "Copy to clipboard" button on the
website will copy the prompt character. Retaining the prompt character
would mean having to edit each command after pasting in the terminal.
2022-11-01 00:09:00 -04:00
dependabot[bot] and GitHub
06a6a7959e
Bump cachix/cachix-action from 11 to 12
...
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-31 22:08:02 +00:00
Eelco Dolstra and GitHub
0edba4cc1e
Merge pull request #7231 from jfroche/fix/savedArgv-access
...
Move savedArgv into libmain
2022-10-31 16:35:08 +01:00
Théophane Hufschmitt and GitHub
90ed041677
Merge pull request #7039 from Mic92/libfetchers-variant
...
libfetchers: avoid api.github.com ratelimit if no github token is set
2022-10-31 11:48:51 +01:00
Jörg Thalheim and GitHub
8ef4cc0c77
Merge pull request #138 from nix-community/ci
...
create bors.toml
2022-10-31 07:24:48 +01:00
Jörg Thalheim
be849ae99f
create bors.toml
2022-10-31 07:22:17 +01:00
Jörg Thalheim and GitHub
8f0c1c8d3b
Merge pull request #137 from nix-community/ci
...
Ci
2022-10-31 07:18:16 +01:00
Jörg Thalheim
724c8df419
also trigger ci on release branches
2022-10-31 07:14:24 +01:00
Jörg Thalheim
ad9c0e0b70
flake.nix: bump version
2022-10-31 07:09:44 +01:00
mergify[bot] and GitHub
72503b527e
Merge pull request #136 from nix-community/update_flake_lock_action
...
flake.lock: Update
2022-10-31 02:10:51 +00:00
github-actions[bot]
f8b3aa4449
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-utils':
'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0' (2022-08-07)
→ 'github:numtide/flake-utils/6ee9ebb6b1ee695d2cacc4faa053a7b9baa76817' (2022-10-29)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/f994293d1eb8812f032e8919e10a594567cf6ef7' (2022-10-25)
→ 'github:NixOS/nixpkgs/fdebb81f45a1ba2c4afca5fd9f526e1653ad0949' (2022-10-29)
2022-10-31 02:05:04 +00:00
Jörg Thalheim
e00761af73
Also test github flakes when access tokens are provided
2022-10-30 07:10:58 +01:00
Sandro Jäckel
9f1dd0df5b
Update test after api.github.com ratelimit avoidance
2022-10-29 21:51:29 +02:00
John Ericson and GitHub
13f2a6f38d
Merge branch 'master' into indexed-store-path-outputs
2022-10-28 23:22:18 +01:00
Jean-François Roche
cd86eeb693
Move savedArgv into libmain
...
`savedArgv` is not accessible by plugins when defined in main binary.
Moving it into one of the nix lib fix the problem.
2022-10-28 12:19:37 +02:00
Jörg Thalheim
48f840cff8
assign fricklerhandwerk for documentation releated PRs
2022-10-27 18:13:24 +02:00
Eelco Dolstra and GitHub
b7e8a3bf4c
Merge pull request #7217 from NixOS/restore-nix-build-remote
...
Fix `nix __build-remote`
2022-10-27 13:33:51 +02:00
Théophane Hufschmitt
f8d0193383
Pass the right argv when calling the build hook
...
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-27 11:53:04 +02:00
mergify[bot] and GitHub
d5fd802d4f
Merge pull request #135 from nix-community/update_flake_lock_action
...
flake.lock: Update
2022-10-27 01:56:47 +00:00
github-actions[bot]
11f1ddc405
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/95aeaf83c247b8f5aa561684317ecd860476fcd6' (2022-10-22)
→ 'github:NixOS/nixpkgs/f994293d1eb8812f032e8919e10a594567cf6ef7' (2022-10-25)
2022-10-27 01:52:17 +00:00
Eelco Dolstra and GitHub
9323d139b0
Merge pull request #7174 from agbrooks/git-tag-bug
...
Prevent fetchGit from using incorrect cached rev for different refs
2022-10-26 16:48:48 +02:00
Théophane Hufschmitt and GitHub
74cc24f4cf
Merge pull request #7191 from jherland/antiquoted-paths
...
Explain how Nix handles antiquotation of paths
2022-10-26 12:42:59 +02:00
Théophane Hufschmitt and Théophane Hufschmitt
9bff7e8ee2
Fix nix __build-remote
...
Because of a wrong index, `nix __build-remote` wasn't working.
Fix the index to restore the command (and the build hook).
2022-10-26 11:53:46 +02:00
Théophane Hufschmitt and GitHub
bf2e6bcda3
Merge pull request #7223 from yorickvP/fix-defaultApp
...
nix run: fix "'defaultApp.x86_64-linux' should have type 'derivation'"
2022-10-26 11:42:59 +02:00