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

Unify and refactor value printing

Previously, there were two mostly-identical value printers -- one in
`libexpr/eval.cc` (which di...

0fa08b451682fb3311fe58112ff05c4fe5bee3a4 authored 12 months ago by Rebecca Turner <[email protected]>
Unindent `print.hh` declarations

c9125603a535f82cc9a53f47533f0a3d174e7008 authored 12 months ago by Rebecca Turner <[email protected]>
Merge pull request #9745 from obsidiansystems/fix-install-unit-tests-cond

packages.nix: Fix `installUnitTests` condition

a38e6b90874bdec222cbbf6d0cb506b47e87003b authored 12 months ago by John Ericson <[email protected]>
packages.nix: Fix `installUnitTests` condition

The intent was we install the tests when we can *not* run them. Instead,
we were installing them...

a923444a9462cd2fabcd816fa2e9cb54c485f13f authored 12 months ago by John Ericson <[email protected]>
Merge pull request #9736 from obsidiansystems/mingw-makefiles

Some small Makefile improvements to prepare for Windows support

84502674f8aee0a11fb2b26bb84a91379fd9c1e9 authored 12 months ago by John Ericson <[email protected]>
Merge pull request #9634 from 9999years/combine-abstract-pos-and-pos

Combine `AbstractPos`, `PosAdapter`, and `Pos`

113499d16fc87d53b73fb62fe6242154909756ed authored 12 months ago by John Ericson <[email protected]>
fetchGit: add simple test for ssh fetching

Also move tests to separate files which are auto-imported. This should allow people adding tests...

0f95330fde6ebad95b5a50be3aacb0a1d11363af authored 12 months ago by DavHau <[email protected]>
initialize test suite for git fetchers

solves #9388

This utilizes nixos vm tests to allow:
- writing tests for fetchTree and fetchGit ...

813c113b9ecfab917e6d43ac5831a4f207fecaf0 authored 12 months ago by DavHau <[email protected]>
Only link with `-pthread` on Unix

We don't want this with MinGW.

423484ad26850046c101affc9ff6ac4c36ccda06 authored almost 1 year ago by John Ericson <[email protected]>
Make indentation in makesfiles consistent

Tab (as required) for rules, two spaces for `if`...`endif`.

f9e5eb5f0a61555d24fe85b8edccf49f0b176152 authored almost 1 year ago by John Ericson <[email protected]>
Make more expressive `HOST_*` macro system

57dc4fc878bc74dfb38cd9d435a85c560b43cebb authored almost 1 year ago by John Ericson <[email protected]>
Merge pull request #9731 from obsidiansystems/better-test-no-gc

Improve the build without GC

75d509eb0879e893e66d08eae8a1db8ebfeb9244 authored almost 1 year ago by John Ericson <[email protected]>
Improve the build without GC

We don't just want to pass `--enable-gc=no`; we also want to make sure
boehmgc is not a dependen...

0c3ce237549d43de52e897f12e6d6c8ee59ac227 authored about 1 year ago by John Ericson <[email protected]>
Merge pull request #9728 from obsidiansystems/readline-support

Improve build sytem support for readline instead of editline

84aa8e9f196e50549aa5cdef76f61f442ce40b82 authored about 1 year ago by John Ericson <[email protected]>
Improve build sytem support for readline instead of editline

Changes:

- CPP variable is now `USE_READLINE` not `READLINE`

- `configure.ac` supports with ne...

2cea88dbc8c277d7403e6dd65f482fd2eb931e52 authored about 1 year ago by John Ericson <[email protected]>
Merge pull request #9648 from cole-h/nix-shell-ordering

nix shell: reflect command line order in PATH order

b91c935c2faf08ced2c763dcd2a831f26d84fa86 authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge pull request #9726 from DavHau/gitignore

gitignore: add result-*

47633ceec3b228490a7bcab06c679d9a3de9d9ff authored about 1 year ago by Eelco Dolstra <[email protected]>
gitignore: add result-*

3d9e0c60e4cf135943d2c72a990ff2c0e3e311a7 authored about 1 year ago by DavHau <[email protected]>
Merge pull request #9720 from NixOS/fix-internal-api-docs

Fix Internal API docs

15820a0507481b0a537e510487c72e195adfe5cb authored about 1 year ago by John Ericson <[email protected]>
Merge pull request #9710 from wegank/disable-lowdown

Make lowdown optional

fa2a27d720c25f106ebbb246235943b955a6f654 authored about 1 year ago by John Ericson <[email protected]>
Fix Internal API docs

Because of source filtering, they were empty.

Fixes #9694

29eb5ed1dc54ec45ab23b50ef259d2b370e8b1e8 authored about 1 year ago by John Ericson <[email protected]>
Make lowdown optional

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

bbd0a959e17e988ef1ec2fadd1ab5bb66420fd6f authored about 1 year ago by Weijia Wang <[email protected]>
Combine `AbstractPos`, `PosAdapter`, and `Pos`

Also move `SourcePath` into `libutil`.

These changes allow `error.hh` and `error.cc` to access ...

4feb7d9f715021784952bea57b37a8628c9b6860 authored about 1 year ago by Rebecca Turner <[email protected]>
Add clang format configuration

53fdcbca509b6c5dacaea3d3c465d86e49b0dd74 authored about 1 year ago by José Luis Lafuente <[email protected]>
fix an old lost direct (#9458)

this part must have been moved quite a while ago, but apparently so far
no one noticed

6a243e5ed281344135285d9093ef36969a867d73 authored about 1 year ago by Valentin Gagarin <[email protected]>
Merge pull request #9709 from wegank/configure-ac-doc-gen

Fix typo in configure.ac

3ecdda80be70a8cf38b4b7faa0b984f163fb09dc authored about 1 year ago by John Ericson <[email protected]>
Fix typo in configure.ac

605eba3829946eb04f1aaf1160cf11a55183c677 authored about 1 year ago by Weijia Wang <[email protected]>
Merge pull request #9662 from shlevy/flat-fixed-references-assert

Improve error message for fixed-outputs with references.

ff6de4a9ee6c3862db9ee5f09ff9c3f43ae7a088 authored about 1 year ago by John Ericson <[email protected]>
Only test bug fix with new enough deamon

c4c636284e4b7b057788383068967910c5a31856 authored about 1 year ago by John Ericson <[email protected]>
Show why GC socket connection was refused

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

faf87b51f76ba9794e65e1d17dc3debf759052cd authored about 1 year ago by Eelco Dolstra <[email protected]>
Improve error message for fixed-outputs with references.

This codepath is possible, e.g. with a dockerTools.pullImage of an image with a Nix store.

eeb2f083c5646bd3a66344cff69be586fd89a450 authored about 1 year ago by Shea Levy <[email protected]>
don't show channels in upgrade instructions

channels make everything more stateful, and therefore more complicated
and potentially confusing...

fe751fbde22aea0362993ab7212f96630443c307 authored about 1 year ago by Valentin Gagarin <[email protected]>
deduplicate installation instructions (#9507)

* deduplicate installation instructions

- reorder sections to present pinned installation mor...

8e865f3aba526394ca333efe7258bd8db0050fbb authored about 1 year ago by Valentin Gagarin <[email protected]>
Improve documentation around upgrading nix (#9679)

* Improve documentation around upgrading nix, add replacing nix channel with new one

Co-autho...

a4d33e816ef6c5baaed4eb65e826cd5aa75c0343 authored about 1 year ago by wiki-me <[email protected]>
Merge pull request #9698 from NixOS/no-boost-regex

Don't pull in libboost_regex

9651034dc26c009559cb571c813a2b8aa2bba3f1 authored about 1 year ago by John Ericson <[email protected]>
Don't pull in libboost_regex

We're not using and we don't want to pull in libicu (37 MiB).

388c79d546db0a2e636aa56e4d4b9a5dfde50db5 authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge pull request #9324 from 9999years/fix-8854-take-2

Don't attempt to `git add` ignored files

359990dfdc713c80aabd7ea6f7e4528628fbe108 authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge pull request #9670 from DavHau/log-lines

saner default for log-lines: change to 25

dedbbbb451bb8f2bd0925e59a8b3d127157015f8 authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge pull request #9692 from 9999years/update-clang-stdenv

Remove `clang11Stdenv`

cbf99c71c6f58579174c1c7649a5421c1d2ba9b0 authored about 1 year ago by Eelco Dolstra <[email protected]>
Remove `clang11Stdenv`

Clang 11 doesn't have support for three-way-comparisons (<=>, "spaceship
operator", "consistent ...

d8a2b06e2068b5209264dfc6d74d5cadf88b8684 authored about 1 year ago by Rebecca Turner <[email protected]>
Merge pull request #9690 from obsidiansystems/nixos-23.05-small-again

flake: Go back to regular `nixos-23.05-small`

1ed245a60672c123c1348a63061fb4d64fb95212 authored about 1 year ago by Robert Hensing <[email protected]>
Merge pull request #9687 from edolstra/withFramedSink-ctrl-c-hang

withFramedSink(): Receive interrupts on the stderr thread

965cfe96886c988c3aa94bfc7fefdd37325f4536 authored about 1 year ago by Eelco Dolstra <[email protected]>
flake: Go back to regular `nixos-23.05-small`

Finally get off the ad-hoc staging commit!

Flake lock file updates:

• Updated input 'nixpkgs':...

37ea1612c78b88884f7baecbb1bf81e65e571592 authored about 1 year ago by John Ericson <[email protected]>
Merge pull request #9688 from obsidiansystems/signature-generalization-prep

Signer infrastructure: Prep for #9076

65fad9b84c8ed95c3c16ccbfb0a87d8119dea15a authored about 1 year ago by John Ericson <[email protected]>
Signer infrastructure: Prep for #9076

This sets up infrastructure in libutil to allow for signing other than
by a secret key in memory...

12bb8cdd381156456a712e4a5a8af3b6bc852eab authored about 1 year ago by John Ericson <[email protected]>
Make some more threads receive interrupts

Shouldn't hurt to do this. In particular, this should speed up
shutting down the PathSubstitutio...

295a2ff8bdff0f681e0c5c54e9378460eb63b663 authored about 1 year ago by Eelco Dolstra <[email protected]>
withFramedSink(): Receive interrupts on the stderr thread

Otherwise Nix deadlocks when Ctrl-C is received in withFramedSink():
the parent thread will wait...

24e70489e59f9ab75310382dc59df09796ea8df4 authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge pull request #9681 from edolstra/eval-optimisations

Optimize empty list constants

315aade89d00c692715e5953c36a1b7d6528b703 authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge pull request #9683 from obsidiansystems/fix-builds

Fix builds / CI jobs

f5b97f19589d0502ce68d4c0c713cc571018579a authored about 1 year ago by Eelco Dolstra <[email protected]>
Move empty list constant

484881f3021856cd0d0c0cb42d4473b3c7ea0051 authored about 1 year ago by Eelco Dolstra <[email protected]>
`buildNoTests`: Restore intent

The thing we wanted to test was that building Nix without building or
running tests, and without...

7b8af5f916a73aa5927b103ff712280023cea840 authored about 1 year ago by John Ericson <[email protected]>
Fix `buildNoTest`

`checkInputs` is not right for this because we don't just need these
deps when `doTest`, we also...

86e924443722a04f7d458594e3332ffaa73edb1d authored about 1 year ago by John Ericson <[email protected]>
Fix NetBSD build

There was still a mistake after my earlier
a7115a47ef0d83ea81b494f6bc5b11d8286e0672 and
e13fc0bb...

2b20f36f9515882589975d14a94ba1fd2b5c513a authored about 1 year ago by John Ericson <[email protected]>
Optimize empty list constants

This avoids a Value allocation for empty list constants. During a `nix
search nixpkgs`, about 82...

3f796514b37a1e723a395fce8271428410e93f5f authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge pull request #9657 from edolstra/fix-getNameFromURL

getNameFromURL(): Support uppercase characters in attribute names

3f834f5c646a9302791d97960a83399c70acf0a3 authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge pull request #9658 from pennae/env-diet

reduce the size of Env by one pointer

83f5622545a2fc31eb7e7d5105f64ed6dd3058b3 authored about 1 year ago by Robert Hensing <[email protected]>
Merge pull request #9673 from pennae/drv-parse-opts

optimize derivation parsing

3511430902941f0f26dc71313a54bb5096f57305 authored about 1 year ago by Robert Hensing <[email protected]>
reduce the size of Env by one pointer

since `up` and `values` are both pointer-aligned the type field will
also be pointer-aligned, wa...

1fe66852ff87e98615f35e8aac64675ff988fb5a authored about 1 year ago by pennae <[email protected]>
use translation table for drv string parsing

the table is very small compared to cache sizes and a single indexed
load is faster than three c...

02c64abf1e892220cb62ce3b7e1598030fb6a61c authored about 1 year ago by pennae <[email protected]>
reduce copies during drv parsing

many paths need not be heap-allocated, and derivation env name/valye
pairs can be moved into the...

c62686a95bd3ebbf3f5104c27222e751e84b84a3 authored about 1 year ago by pennae <[email protected]>
optimize derivation string parsing

a bunch of derivation strings contain no escape sequences. we can
optimize for this fact by firs...

79d3d412cacd210bc9a0e9ba5407eea67c8e3868 authored about 1 year ago by pennae <[email protected]>
Merge pull request #9617 from 9999years/stack-overflow-segfault

Fix segfault on infinite recursion in some cases

bf1b294bd81ca76c5ec9fe3ecd52196bf52a8300 authored about 1 year ago by Robert Hensing <[email protected]>
Fix segfault on infinite recursion in some cases

This fixes a segfault on infinite function call recursion (rather than
infinite thunk recursion)...

7434caca0545bd6194bb52eebf6fdf0424755eb0 authored about 1 year ago by Rebecca Turner <[email protected]>
malloc/memset even less

more buffers that can be uninitialized and on the stack. small
difference, but still worth doing...

2cfc4ace35d1c8cca917c487be3cfddfcf3bba01 authored about 1 year ago by pennae <[email protected]>
don't use istreams in hot paths

istream sentry objects are very expensive for single-character
operations, and since we don't co...

99a691c8a1abffd30077bd5f005cb8d4bbafae5c authored about 1 year ago by pennae <[email protected]>
Merge pull request #9666 from unblevable/dervation-typo

Fix "dervation" typo

a21c762dab365049b77af95355ee4236d173e216 authored about 1 year ago by Eelco Dolstra <[email protected]>
saner default for log-lines: change to 25

This seems to be a much saner default. 10 lines are just not enough in so many cases.

b6313f64f7be11e0fe74b17cb31dbbf12b2e7725 authored about 1 year ago by DavHau <[email protected]>
Change "dervation" typos to "derivation"

e2399fc94935c9bc1ae6670c5d445214e039ac84 authored about 1 year ago by Brian Le <[email protected]>
Merge pull request #9661 from shlevy/ifd-buildStore

Build IFD in the build store when using eval-store.

e23983db824f9ea0ecdb6cab3739232b2554f2f5 authored about 1 year ago by John Ericson <[email protected]>
Build IFD in the build store when using eval-store.

Previously, IFDs would be built within the eval store, even though one
is typically using `--eva...

c3942ef85ffbd83391410fbf012f1de366d2463c authored about 1 year ago by Shea Levy <[email protected]>
remote-store test: Break out IFD expression into a separate file

9cb287657bec5a969d8bb1678d598d9fa820e60b authored about 1 year ago by Shea Levy <[email protected]>
Merge pull request #9582 from pennae/misc-opts

a packet of small optimizations

ee439734e924eb337a869ff2e48aff8b989198bc authored about 1 year ago by Robert Hensing <[email protected]>
getNameFromURL(): Support uppercase characters in attribute names

In particular, this makes it handle 'legacyPackages' correctly.

936a3642264ac159f3f9093710be3465b70e0e89 authored about 1 year ago by Eelco Dolstra <[email protected]>
nix profile: Remove check for "name" attribute in manifests

AFAIK, we've never emitted this attribute.

a748e88bf4cca0fdc6ce75188e88017a7899d16b authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge pull request #9655 from iFreilicht/move-flake-url-name-util

Move url-name utility to libexpr/flake

d65d56fa77b0b122eec8c2808f1d05b7bf3b003b authored about 1 year ago by John Ericson <[email protected]>
nix profile: Remove indices

3187bc9ac3dd193b9329ef68c73ac3cca794ed78 authored about 1 year ago by Eelco Dolstra <[email protected]>
nix profile: Make profile element names stable

The profile manifest is now an object keyed on the name returned by
getNameFromURL() at installa...

6268a45b650f563bae2360e0540920a2959bdd40 authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge pull request #9621 from blaggacao/fix/too-restrictive-branch-regex-master

fix: valid branch name

d2016c6b59f4a5223a18c92c817d61c448ce39ab authored about 1 year ago by Robert Hensing <[email protected]>
Move flakeref tests to new flake/ subdirectory

4b4111866358b39d5bfc352fa58040c8a54a2759 authored about 1 year ago by Felix Uhl <[email protected]>
Move url-name utility to libexpr/flake

26d7b0c793b389b71218fc38e613d3f75ad72299 authored about 1 year ago by Felix Uhl <[email protected]>
libutil/url-parts.hh: Fix regex

Regex syntax is awful.

4f47152209a81a2bef421467ca4bec00023eec04 authored about 1 year ago by Robert Hensing <[email protected]>
nix search: Disallow empty regex

Fixes #4739
Fixes #3553 in spirit IMO

397cf4e2859d5723f1e36aeb4b26ecae673515a8 authored about 1 year ago by Felix Uhl <[email protected]>
libutil/url-parts.hh: comment

8c4ea12f11511519726737cc39bc5b4e089b9f33 authored about 1 year ago by Robert Hensing <[email protected]>
nix shell: reflect command line order in PATH order

Prior to this change, Nix would prepend every installable to the PATH
list in order to ensure th...

f4454aac9f002c33b84bb52e0bba2a46ea6170cd authored about 1 year ago by Cole Helbling <[email protected]>
tests: add a test for command line ordering

1fb43d1eee6f398686523c0bb80adb987c584c61 authored about 1 year ago by Cole Helbling <[email protected]>
libcmd: Installable::toStorePaths -> Installable::toStorePathSet

5ed1884875cc6a6e9330b6c5a2f24c35e685f5a0 authored about 1 year ago by Cole Helbling <[email protected]>
Merge pull request #8678 from iFreilicht/profile-names-instead-of-index

`nix profile`: Allow referring to elements by human-readable name

17c202b3eac3d4b0b91b489de1342982ec710fab authored about 1 year ago by Eelco Dolstra <[email protected]>
Fix release notes

942d635102810a310c747cee66d9e9f343e6b4c3 authored about 1 year ago by Eelco Dolstra <[email protected]>
Typo

14508ade289b884ab2ceb0645a549a69fba82cab authored about 1 year ago by Eelco Dolstra <[email protected]>
Fix indent

d77a39a314871b9c9a0a4d09b153c40ea9c8aaca authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge remote-tracking branch 'origin/master' into profile-names-instead-of-index

9d9d9ff0dece2a525b493c32fa3231558b9f37a6 authored about 1 year ago by Eelco Dolstra <[email protected]>
maintainers: Mention the monthly “Assigned” column review

As decided during [the last team meeting](https://discourse.nixos.org/t/2023-12-18-nix-team-meet...

e94a96893f074a949ba263d66d47e665040fed41 authored about 1 year ago by Théophane Hufschmitt <[email protected]>
Merge pull request #9645 from tweag/undeprecate-isNull

Undeprecate isNull

8e64cd59b0fe1a4e1d3ba8d359ea0f9af2936f94 authored about 1 year ago by Robert Hensing <[email protected]>
Undeprecate isNull

There's no good reason to deprecate it:
- For consistency reasons it should continue to exist, s...

ea454d8687b96376b221d7bdb1085968867c2496 authored about 1 year ago by Silvan Mosberger <[email protected]>
Merge pull request #9631 from cole-h/fixup-check-warnings

Fix warnings when running checks

75e10e42f3c63fd9b9c8cf222b992ab77e497854 authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge pull request #9635 from 9999years/document-makefile-variables

Document more `Makefile` variables

16a77767cdf90cbd53ff451c93fde8e5d89bdb1f authored about 1 year ago by Eelco Dolstra <[email protected]>
Merge pull request #9646 from obsidiansystems/fix-cross-build

Move down fallback targets in `Makefile`

e3cdad4cf8ac4b58e48c9a3997ff6b2e99ae2031 authored about 1 year ago by Théophane Hufschmitt <[email protected]>
Move down fallback targets in `Makefile`

This ensures `lib.mk` still defines `default` as the first target. This
fixes some builds.

26d60b837ca84856ceef18627b2354d26f002eb1 authored about 1 year ago by John Ericson <[email protected]>
use singleton expr to generate black hole errors

this also reduces forceValue code size and removes the need for
hideInDiagnostics. coopting thun...

2b0e95e7aabd075f95cbfb1607330b2284b01918 authored about 1 year ago by pennae <[email protected]>
force-inline forceValue

forceValue is extremely hot. interestingly adding likeliness annotations
to the branches does no...

f9db4de0f3758e0f730a5d98348e7cc40082104a authored about 1 year ago by pennae <[email protected]>