Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/NixOS/nix

Nix, the purely functional package manager
https://github.com/NixOS/nix

Merge pull request #9860 from 9999years/set-stack-darwin

Increase stack size on macOS as well as Linux

efb91d5979a625d5c50558aeabfd24e802ed9173 authored 12 months ago by John Ericson <[email protected]>
Color `diff` output in `tests/functional/lang` tests

Use `diff --color=always` to print colored output for language test
failures. I've also flipped ...

772897a1cd46fc3875f0ffa54cf2661d9ef17494 authored 12 months ago by Rebecca Turner <[email protected]>
Increase stack size on macOS as well as Linux

The code works fine on macOS, but the default stack size we attempt to
set is larger than what m...

3a124d1e88c8cbac6fbaf4709b8b4ee92f58ff30 authored 12 months ago by Rebecca Turner <[email protected]>
update docs on `fetchGit` shallow clone behavior (#9704)

30bdee5c3b6beb88dae48771191de5d0620db6ba authored 12 months ago by Valentin Gagarin <[email protected]>
Merge pull request #9849 from 13x1/patch-1

Fix typo in primops.cc (and therefore Nix docs)

8df68a213fc52a57b02a57005b0e06cc8de40ce3 authored 12 months ago by Théophane Hufschmitt <[email protected]>
Merge pull request #9848 from obsidiansystems/default-system-features-static

Make `StoreConfig::getDefaultSystemFeatures` a static method

5a9513cdbae31ea5e6f6e7afa7b3c2e3a9a26474 authored 12 months ago by Théophane Hufschmitt <[email protected]>
Fix typo in primops.cc (and therefore Nix docs)

This also fixes the typo in the Nix docs at https://nixos.org/manual/nix/unstable/language/built...

08f38a3a4030e765f63e6b02e0094d33083c401b authored 12 months ago by lexi <[email protected]>
Make `StoreConfig::getDefaultSystemFeatures` a static method

This makes something in Hydra bit simpler. If someday the default
depends on the other config op...

a9e10a1dbdbc673614c1f27e889a7a0f7e470462 authored 12 months ago by John Ericson <[email protected]>
Merge pull request #9844 from NixOS/pkg-config-gmock

Link both gmock and gtest, not just gtest

979b00bce9efa9560a58a10661865f4e896d0903 authored 12 months ago by John Ericson <[email protected]>
Link both gmock and gtest, not just gtest

GMock is not entirely header-only, we're finding.

c81730541133d271c040df92600333cf188dc5a4 authored 12 months ago by John Ericson <[email protected]>
Merge pull request #9843 from hercules-ci/test-pr-9626

tests/functional/fetchGit.sh: Test fetchGit/fetchTree error message

212ba69e6f995992f8b4e4c0656d19c0156c8714 authored 12 months ago by Robert Hensing <[email protected]>
tests/functional/fetchGit.sh: Test fetchGit/fetchTree error message

Follow-up for https://github.com/NixOS/nix/pull/9626
176dcd5c617367dbff6d5455856a25518326f79d

6532dd50fc4f2de79f6a187145a3d554b5a6f03a authored 12 months ago by Robert Hensing <[email protected]>
Merge pull request #9754 from 9999years/print-value-when-coercion-fails

Print the value in `error: cannot coerce` messages

5b7bfd2d6b89d7dd5f54c1ca6c8072358d31a84e authored 12 months ago by Robert Hensing <[email protected]>
Merge pull request #9841 from obsidiansystems/float-speed-factor

Convert `Machine::speedFactor` from a non-neg int to a non-neg float

69d0ae27e376e7c7c4f237716b0149223b8a805a authored 12 months ago by Théophane Hufschmitt <[email protected]>
Convert `Machine::speedFactor` from a non-neg int to a non-neg float

The short motivation is to match Hydra, so we can de-dup.

The long version is layed out in
http...

1e24db6f9a7a36ddba1a591da8ddf5f5c9ec3f83 authored 12 months ago by John Ericson <[email protected]>
Merge pull request #9481 from iFreilicht/disallow-nix-search-without-search-terms

nix search: Disallow empty regex

1c260fa6d1f47d83954792771d0614db163cc3bc authored 12 months ago by tomberek <[email protected]>
Merge pull request #8893 from 9999years/fix-8882

Log what `nix flake check` does

775d59f1fa21d70cf9306b6668e9b04738034d29 authored 12 months ago by tomberek <[email protected]>
Print the value in `error: cannot coerce` messages

This extends the `error: cannot coerce a TYPE to a string` message
to print the value that could...

83bb494a30a9e659a53eb757242fa0113aeae556 authored 12 months ago by Rebecca Turner <[email protected]>
Merge pull request #9838 from obsidiansystems/systemTypes-set

Make `Machine::systemTypes` a set not vector

f1b030415376e81c5804647c055d71eaba4aa725 authored 12 months ago by Robert Hensing <[email protected]>
Factor out `Machine::systemSupported`

There's just enough logic (the `"builtin"` special case) that makes this
worthy of its own method.

0aa85088dee30615adcc7a2933fb94ea8767ec35 authored 12 months ago by John Ericson <[email protected]>
Add API docs to `Machine` methods

870acc2892661d1d2c9f9f39c43d79cb4bbaacb0 authored 12 months ago by John Ericson <[email protected]>
Make `Machine::systemTypes` a set not vector

This is more conceptually correct (the order does not matter), and also
matches what Hydra alrea...

739032762addcb3d88490040b388ff63b155bb16 authored 12 months ago by John Ericson <[email protected]>
Merge pull request #9833 from obsidiansystems/ssh-arg-split

Make `SSHMaster::startCommand` work on an args list

b6aee9a93f6646bbffd919d362a5c75c37bb9caa authored 12 months ago by Eelco Dolstra <[email protected]>
Merge pull request #9832 from NixOS/dependabot/github_actions/zeebe-io/backport-action-2.4.0

build(deps): bump zeebe-io/backport-action from 2.3.0 to 2.4.0

d210252f777b683e2bc711015ddf8c4d2c6ff19d authored 12 months ago by Eelco Dolstra <[email protected]>
Merge pull request #9653 from obsidiansystems/improve-parse-sink

Improve the `ParseSink` interface

08bf2846df34b0db3a25d575e8cb34a9518a9dcc authored 12 months ago by Robert Hensing <[email protected]>
Merge pull request #9818 from Ma27/print-value-on-function-call-type-error

libexpr: print value of what is attempted to be called as function

50e5d7b883042852538371237e32a66bb22f0485 authored 12 months ago by Robert Hensing <[email protected]>
Merge pull request #9651 from NixOS/mention-assigned-review-in-handbook

maintainers: Mention the monthly “Assigned” column review

dcdc8db833e3b04c185dfffdcd11942896f885b3 authored 12 months ago by John Ericson <[email protected]>
Improve the `FileSystemObjectSink` interface

More invariants are enforced in the type, and less state needs to be
stored in the main sink its...

6365bbfa8120007719156b45482568aca6c74f26 authored 12 months ago by John Ericson <[email protected]>
`ParseSink` -> `FileSystemObjectSink`

Co-authored-by: Robert Hensing <[email protected]>

966d6fcd01cfd33e9954e5df262b8bf64a5fd311 authored 12 months ago by John Ericson <[email protected]>
Make `SSHMaster::startCommand` work on an args list

This avoids split-on-whitespace errors:

- No more `bash -c` needed

- No more `shellEscape` nee...

b71673109c2172cb1f933cc8a97c26b4352ac239 authored 12 months ago by John Ericson <[email protected]>
build(deps): bump zeebe-io/backport-action from 2.3.0 to 2.4.0

Bumps [zeebe-io/backport-action](https://github.com/zeebe-io/backport-action) from 2.3.0 to 2.4....

9a51209309891f8bf7edf65673682df13d4beb90 authored 12 months ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
libexpr: print value of what is attempted to be called as function

Low-hanging fruit in the spirit of #9753 and #9754 (means 9999years did
all the hard work alread...

81499a0b93a136f889f3799d7110dcc479a4cbe1 authored 12 months ago by Maximilian Bosch <[email protected]>
Merge pull request #9753 from 9999years/print-value-on-type-error

Print the value in `value is X while a Y is expected` error

5f72a97092da6af28a7d2b2a50d74e9d34fae7e1 authored 12 months ago by Robert Hensing <[email protected]>
Merge pull request #9830 from hercules-ci/test-cross-version-remote-build

tests/nixos: Test remote build against older versions

74534829f23b668fb9b2f2a14ff6afa4d5e71d4a authored 12 months ago by Robert Hensing <[email protected]>
Merge pull request #6134 from obsidiansystems/expose-proto-rawer

Factoring out parts of the serve protocol for Hydra to share

71bf5923817b0ec0ab49d2bc062b1833bffe74d6 authored 12 months ago by John Ericson <[email protected]>
nixos/tests/remote-builds*: Format

nixpkgs-fmt

c4d7c4a8485cb74f57045d1fa14c1d5f9fa28310 authored 12 months ago by Robert Hensing <[email protected]>
tests/nixos/remote-builds*: Inline module + format

5167351efbee5c5a7390510eb720c31c6976f4d9 authored 12 months ago by Robert Hensing <[email protected]>
`LegacySSHStore::openConnection` move more logic inside catch block

Broader error handling logic is more robust.

4580bed3e47eba844ec905d7a0e5fec79fb06b67 authored 12 months ago by John Ericson <[email protected]>
Factor out `ServeProto::BasicClientConnection::handshake` Hydra to share

4a5ca576da511fcc64039c2494f41f710d662478 authored 12 months ago by John Ericson <[email protected]>
Factor our `ServeProto::BasicServerConnection::handshake`

We'll need this for unit testing.

Co-authored-by: Robert Hensing <[email protected]....

e960b2823091f7c6685b55d5f1ad8d7612130009 authored 12 months ago by John Ericson <[email protected]>
Create unit tests for the serve proto handshake

Co-authored-by: Robert Hensing <[email protected]>

1fb25829692e5455c0edec96226af295957d99b4 authored 12 months ago by John Ericson <[email protected]>
Start factoring out the serve protocol for Hydra to share

Factor out `ServeProto::BasicClientConnection` for Hydra to share

- `queryValidPaths`: Hydra us...

ce2f714e6daa0250f30bc3a14967e4e3a7777d9f authored 12 months ago by John Ericson <[email protected]>
tests/nixos: Test remote build against older versions

e502d1cf945fb3cdd0ca1e1c16ec330ccab51c7b authored 12 months ago by Robert Hensing <[email protected]>
Merge pull request #9512 from hercules-ci/release-notes-bdwgc-traceable-allocator-patch

prerequisites-source: Add bdwgc-traceable-allocator-patch

50ce3832dc98c9c1cdcc80456f4738745758cdf7 authored 12 months ago by John Ericson <[email protected]>
Print value on type error

Adds the failing value to `value is <TYPE> while a <TYPE> is expected`
error messages.

cb7fbd4d831de9d98b7dfd149d8a96939be31bb2 authored 12 months ago by Rebecca Turner <[email protected]>
Merge pull request #9829 from obsidiansystems/fix-if-if-else-ambiguity

If `if`...`if`...`else` ambiguity

b74ec56da9a2d6d14298f959a16e9399d11e5b05 authored 12 months ago by John Ericson <[email protected]>
Fix `if`...`if`...`else` ambiguity

This can be parsed two ways. Add a pair of braces so it must be parsed
the intended way.

316e50cc7c0bad8448c9f475993e52f9d5dee7c0 authored 12 months ago by John Ericson <[email protected]>
Merge pull request #9626 from jvns/locked-input

Make fetchTree locked input error message clearer

176dcd5c617367dbff6d5455856a25518326f79d authored 12 months ago by John Ericson <[email protected]>
Update src/libexpr/eval.cc

Co-authored-by: John Ericson <[email protected]>

80b84710b8c676620ed1e8bf8ff3bb1d5bc19b80 authored 12 months ago by pennae <[email protected]>
Merge pull request #9703 from fricklerhandwerk/upgrade-no-channel

don't show `nix-channel` in upgrade instructions

16ccca2e866624dd042495c7c5f5ae18b521d2e7 authored 12 months ago by Eelco Dolstra <[email protected]>
Elaborate what the monthly assignments status check entails

Co-authored-by: Robert Hensing <[email protected]>

0bcdb4f5f0830261ecbff1cbc805b215cac1abae authored 12 months ago by John Ericson <[email protected]>
Merge pull request #9521 from fricklerhandwerk/conf-reword-max-jobs

reword description of the `max-jobs` setting

b2066c3574f34d125e473faa58c7328f0ccade36 authored 12 months ago by John Ericson <[email protected]>
Merge pull request #9760 from hercules-ci/doc-glossary-nix-expression

doc/glossary: Nix expression can be language expression

a0b86b316093c29d587f3f59ed98c85d39cbdf6c authored 12 months ago by John Ericson <[email protected]>
Merge pull request #9822 from obsidiansystems/algo-vs-hash-algo

Start standardizing hash algo flags

c8d33bca8d3f26773eac8f6842bdb846908f81e8 authored 12 months ago by Théophane Hufschmitt <[email protected]>
Merge pull request #9805 from yshui/prefetch-unpack

Add --unpack to nix store prefetch-file

f51409cf98e9b18f27a6d0240a0aa0c3f37c2fd0 authored 12 months ago by Théophane Hufschmitt <[email protected]>
Merge pull request #9821 from obsidiansystems/fix-typo

Fix typo in upcomming release notes

da1aae2d066ae2591c14682b3197ebdf8e1f2272 authored 12 months ago by John Ericson <[email protected]>
Start standardizing hash algo flags

Do this if we want to do `--hash-algo` everywhere, and not `--algo` for
hash commands.

The new ...

202c5e2afc14232b3c9ff32b014387d76c45b3d7 authored 12 months ago by John Ericson <[email protected]>
Merge pull request #9348 from obsidiansystems/json-formats

Document JSON formats

a93b204c2753afe30f974fab40493df2969d2cf5 authored 12 months ago by John Ericson <[email protected]>
Fix typo in upcomming release notes

Thanks @cole-h for finding in https://github.com/NixOS/nix/pull/9815#discussion_r1460604130

65294fe5fe4fd5419ea374e73710e8a217ba8060 authored 12 months ago by John Ericson <[email protected]>
Document JSON formats

Good to document these formats separately from commands that happen to
use them.

Eventually I w...

edf3ecc497d9931f84d8a28679b51773c761fdd8 authored 12 months ago by John Ericson <[email protected]>
Print how many checks are run

d75a5f427a385e56c821fdf49a70a150fe7fe6fd authored 12 months ago by Rebecca Turner <[email protected]>
Add release notes

561a56cd13b4f12e3dfb6c5e3f42e5d8add04ecc authored 12 months ago by Rebecca Turner <[email protected]>
Print derivation paths

Also be more consistent with quotes around attribute paths

9404ce36e4edd1df12892089bdab1ceb7d4d7a97 authored 12 months ago by Rebecca Turner <[email protected]>
Log what `nix flake check` does

There's still room for improvement, but this produces much more
informative output with `-v`:

`...

49221493e243c4d10e69e7465a21be53902e16a8 authored 12 months ago by Rebecca Turner <[email protected]>
Merge pull request #9809 from obsidiansystems/nix-store-add-algo

Add missing `--hash-algo` flag to `nix store add`

9b896bf7e95d83489a6befe1c37f6dd851d14c6e authored 12 months ago by John Ericson <[email protected]>
Add missing `--hash-algo` flag to `nix store add`

356352c3709f69b6d11ed7f14ffa586219170908 authored 12 months ago by John Ericson <[email protected]>
Merge pull request #9794 from hercules-ci/queryPathInfoFromClientCache

refactor: Extract `Store::queryPathInfoFromClientCache`

382fa51ff008f4b51c5b6355cc062c82444f44bc authored 12 months ago by Robert Hensing <[email protected]>
refactor: Remove throw from queryPathInfoFromClientCache

Return a value instead of throwing.

Rather than the more trivial refactor of wrapping the retur...

d19627e8b4c3c09b0cc1329a9acaa8e5b070f26e authored 12 months ago by Robert Hensing <[email protected]>
refactor: Un-callback transform Store::queryPathInfoFromClientCache

This part of the code was not necessarily callback based.
Removing CPS is always nice; particula...

8983ee8b2e0c10e6cac672a5a7ada4698235a62e authored 12 months ago by Robert Hensing <[email protected]>
Add --unpack to nix store prefetch-file

75a6e6dd0eb60f3bcaaa3b33b085fb542638eb44 authored 12 months ago by Yuxuan Shui <[email protected]>
Merge pull request #9632 from cole-h/nix-daemon-testing

Use `nix daemon` in the test suite

e6e160a0758c0354ed810b0ec9846ed885adcc11 authored 12 months ago by Eelco Dolstra <[email protected]>
Merge pull request #9811 from DavHau/fix-git-auth

fetchTree/fetchGit: re-enable shallow fetching

10165c7593b449cedaf1d2579b486eefe9a19c2e authored 12 months ago by Théophane Hufschmitt <[email protected]>
Merge pull request #9812 from NixOS/remove-n-shorthand-for---mode

Remove a nonsensical shorthand flag in `nix store add`

57d6284eb727044218fcd48a24753fe9469fd277 authored 12 months ago by John Ericson <[email protected]>
fetchTree/fetchGit: re-enable shallow fetching

Add several tests for git fetching:
- shallow-cache-separation: can fetch the same repo shallowl...

bc00fa46472c56ccfddc2d6e81453be537d2e051 authored 12 months ago by DavHau <[email protected]>
Merge pull request #9806 from hercules-ci/fix-git-auth

Fix git auth

d762caff466052099b427411d515df859cc75f08 authored 12 months ago by Robert Hensing <[email protected]>
Remove a nonsensical shorthand flag in `nix store add`

`-n` was an alias for `--mode`, but that seems to just be a copy-paste error as it doesn't make ...

28d7db249ace91c10a9ad6cb6d11a6c2109929fb authored 12 months ago by Théophane Hufschmitt <[email protected]>
Merge pull request #9804 from edolstra/missing-nar-crash

Fix crash when NAR is missing from binary cache

3b20cca9625a1701a10a883735e7315185629563 authored 12 months ago by Eelco Dolstra <[email protected]>
Merge pull request #9792 from fricklerhandwerk/move-section

move section on make variables

4e8483d09d68cf3566bbef68c623b4f6d1bfd6b6 authored 12 months ago by Robert Hensing <[email protected]>
doc/hacking.md: Hint short option `make -e`

Co-authored-by: Valentin Gagarin <[email protected]>

14f470ec4e9d481698b97ea2dae101693fbaca95 authored 12 months ago by Robert Hensing <[email protected]>
tests/nixos/fetch-git: Add http-auth test

346d513d86491f2040735d22ba49cb0d701edb70 authored 12 months ago by Robert Hensing <[email protected]>
Revert libgit2 fetching

libgit2 is not capable of using git-credentials helpers yet.
This prevents private repositories ...

8d422c2fef4309b4b7de8e2f909957775a9ec3ef authored 12 months ago by Robert Hensing <[email protected]>
tests/nixos/fetch-git: Testsupport for private repos

ed975e953c30c335f8403352acc785323a5a925c authored 12 months ago by Robert Hensing <[email protected]>
doc: GitRepoImpl::path

76a50b3a69dd7202fa4c68ca8d12fde152e6341a authored 12 months ago by Robert Hensing <[email protected]>
Merge pull request #9676 from DavHau/git-testsuite

initialize test suite for git fetchers

0bd9e10aea747df51c8a5af124864c722cbeafde authored 12 months ago by Robert Hensing <[email protected]>
tests/nixos/fetch-git: Memoize -> save

Memoization is for thunk-like behavior whereas this is executed eagerly.

94eba0ebbbadfa48a4c1253cb94070a41310fae2 authored 12 months ago by Robert Hensing <[email protected]>
tests/nixos/fetch-git: Factor out gitea repo module

fd41979d7857f6984b4b7571706a45b16f9c0a5d authored 12 months ago by Robert Hensing <[email protected]>
tests/nixos/fetch-git: Make the store paths unique

12541704052849d4160a13f7bbd873b40f19a3f9 authored 12 months ago by Robert Hensing <[email protected]>
Show what goal is waiting for a build slot

ab786e22f16eed0d95123d5698eb71079c312584 authored 12 months ago by Eelco Dolstra <[email protected]>
LocalStore::addToStore(): Ignore exceptions from parseDump()

In the "discard" case (i.e. when the store path already exists
locally), when we call parseDump(...

a18d8d688a826ff535b3eeff289ef51db33a413b authored 12 months ago by Eelco Dolstra <[email protected]>
copyStorePath(): Bail out early if the store path already exists

In rare cases (e.g. when using allowSubstitutes = false), it's
possible that we simultaneously h...

dca0a802405be9798e12ad8be2ec6d227d9a2fa2 authored 12 months ago by Eelco Dolstra <[email protected]>
Merge pull request #9799 from obsidiansystems/push-add-to-store-from-dump-unsupported-down

Push `addToStoreFromDump` `unsupported(...)` down `Store` class hierarchy

e652322a61eca864caaa3c4e766ff9b66cae7a19 authored 12 months ago by Théophane Hufschmitt <[email protected]>
Merge pull request #9798 from edolstra/remote-store-eof

Print a more helpful message if the daemon crashes

32706b14a7531c2c21b9f96da083a540a0031ec4 authored 12 months ago by Eelco Dolstra <[email protected]>
Use BackedStringView

1fe8f54bd30fead52d21ae472fb4f0f68a5c6fdd authored 12 months ago by Eelco Dolstra <[email protected]>
tests/nixos/fetch-git: Apply suggestions

78074bdea4fcb4403cc7b1e533d1fcbcf51e01a5 authored 12 months ago by Robert Hensing <[email protected]>
Merge pull request #9787 from obsidiansystems/bind-proc-syserror

`bind`: give same treatment as `connect` in #8544, dedup

28674247ec792a981741198abc190a71bb254b82 authored 12 months ago by Théophane Hufschmitt <[email protected]>
Push `addToStoreFromDump` `unsupported(...)` down `Store` class hierarchy

Instead of having it be the default method in `Store` itself, have it be
the implementation in `...

574db8350491d8da3f65625de1f91bc667e67360 authored 12 months ago by John Ericson <[email protected]>
`bind`: give same treatment as `connect` in #8544, dedup

It is good to propagate the underlying error so whether or not we use a
process to deal with pat...

3016e67c21c8ea1f1c44528c7895fad1761406c3 authored 12 months ago by John Ericson <[email protected]>
Print a more helpful message if the daemon crashes

Instead of

error: unexpected end-of-file

you now get

error: Nix daemon disconnected une...

a3cf27ca47328b11173147ca7180e0bae798bb2c authored 12 months ago by Eelco Dolstra <[email protected]>
Merge pull request #9797 from edolstra/fix-error-message

Store::buildPaths(): Fix display of store paths

b5ed36e6633cac844fe4388dcc0cc8055a18ef9e authored 12 months ago by John Ericson <[email protected]>
Store::buildPaths(): Fix display of store paths

This was broken in 7ac39ff05c8353c665174e8df61dd76a2b0b93db.

39ab50f9ee64f0455e37a8136638d9757252c226 authored 12 months ago by Eelco Dolstra <[email protected]>