1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 17:51:15 +02:00
Commit graph

17757 commits

Author SHA1 Message Date
Eelco Dolstra
83173fef17 Avoid superfluous duplicate jobs on PRs 2024-07-11 11:19:08 +02:00
Eelco Dolstra
6ad333aeee GitHub CI: Use a bigger builder for x86_64-linux
Also, don't use a matrix for the 'tests' workflow, since we don't want
the 'vm_tests' and 'flake_regressions' workflows to depend on
aarch64-darwin.
2024-07-11 11:13:55 +02:00
Eelco Dolstra
51583851a2
Merge pull request #29 from DeterminateSystems/stable-flakes
Make the flakes experimental feature stable
2024-07-10 20:35:15 +02:00
Eelco Dolstra
50d7ce6c6a Actually remove the "flakes" experimental feature
To avoid annoying warnings, this is now a "stabilized" feature.
2024-07-10 18:47:28 +02:00
Eelco Dolstra
16c8f9016b Remove unneeded --experimental-features 2024-07-10 18:47:28 +02:00
Graham Christensen
590920eed2 Make the flakes experimental feature stable 2024-07-10 16:36:57 +02:00
Eelco Dolstra
7747a501db
Merge pull request #27 from DeterminateSystems/gha-release
Create Determinate Nix
2024-07-10 13:11:34 +02:00
Eelco Dolstra
3a6fd22b4a Fix another version check 2024-07-09 16:53:02 +02:00
Eelco Dolstra
245dbb7a61 Revert "Add plumbing for the DetSys installer flake"
This reverts commit 0f9ea197055eabe5fac3ef93e49ba5552668fa08.
2024-07-09 16:53:02 +02:00
Eelco Dolstra
361a5783ef Fix version check 2024-07-09 16:53:02 +02:00
Eelco Dolstra
b68d7396ca Publish to FlakeHub 2024-07-09 16:53:02 +02:00
Eelco Dolstra
261a2e58fe Add plumbing for the DetSys installer flake 2024-07-09 16:53:02 +02:00
Eelco Dolstra
def2c29e97 Distinguish Determinate Nix in --version output 2024-07-09 16:53:02 +02:00
Eelco Dolstra
f218f0e93a Try without fetch-depth:0 2024-07-09 16:53:02 +02:00
Eelco Dolstra
58bc627a6c Fix spellcheck 2024-07-09 16:53:02 +02:00
Eelco Dolstra
9b7a320558 Use FlakeHub cache 2024-07-09 16:53:00 +02:00
Eelco Dolstra
9f41943769 flake-regressions.sh: Make the sort order deterministic 2024-07-09 16:51:22 +02:00
Eelco Dolstra
257ab726aa Run the flake-regressions test suite 2024-07-09 16:51:21 +02:00
Eelco Dolstra
39e39aa4e9
Merge pull request #28 from DeterminateSystems/sync-with-upstream
Sync with upstream
2024-07-09 16:41:32 +02:00
John Ericson
3755493642
Merge pull request #11060 from obsidiansystems/meson-nix
Package the Nix CLI with Meson
2024-07-09 09:49:03 -04:00
Robert Hensing
d69fcbc9d7
Merge pull request #11065 from DeterminateSystems/remove-hydra-status-check
Remove the Hydra status check workflow
2024-07-09 10:28:48 +02:00
John Ericson
7a6269ba7b Package the Nix CLI with Meson
Co-Authored-By: Qyriad <qyriad@qyriad.me>
2024-07-08 17:49:44 -04:00
John Ericson
f1d88e0f27
Merge pull request #11064 from obsidiansystems/header-generater
Use a meson "generator" to deduplicate `.gen.hh` creation
2024-07-08 12:03:59 -04:00
John Ericson
1439de874f
Merge pull request #11063 from obsidiansystems/config-expr
Forgot to include `config-expr.hh` in two places
2024-07-08 11:27:57 -04:00
John Ericson
6e5cec292b Use a meson "generator" to deduplicate .gen.hh creation 2024-07-08 11:13:11 -04:00
John Ericson
c5284a84f3 Forgot to include config-expr.hh in some places 2024-07-08 10:37:34 -04:00
Eelco Dolstra
ab0b54b905 Remove the Hydra status check workflow
I'm sick of receiving an email about this every 30 minutes.
2024-07-08 14:39:33 +02:00
Robert Hensing
cfe3ee3de8
nix-shell: look up shell.nix when argument is a directory (#11057)
* Refactor: rename runEnv -> isNixShell

* Refactor: rename left -> remainingArgs

* nix-build.cc: Refactor: extract baseDir variable

* nix-build.cc: Refactor: extract sourcePath, resolvedPath variables

* nix-shell: Look for shell.nix when directory is specified

* Add legacy setting: nix-shell-always-looks-for-shell-nix

* rl-next: Add note about shell.nix lookups

* tests/functional/shell.nix: Implement runHook for dummy stdenv
2024-07-08 14:36:36 +02:00
John Ericson
d8850618b6
Merge pull request #11059 from rhendric/rhendric/reference-manual
docs: merge builtin-constants into builtins
2024-07-07 21:47:33 -04:00
Ryan Hendrickson
95890b3e1d docs: merge builtin-constants into builtins 2024-07-07 15:57:23 -04:00
Robert Hensing
a9592077fb
Merge pull request #11055 from NixOS/packaging-for-nixpkgs
Indirections for packaging meson-based granular build for Nixpkgs
2024-07-07 21:33:01 +02:00
Robert Hensing
fd4b17ab2c
Merge pull request #11056 from romain-neil/s3-allow-use-of-proxy
Configure aws s3 lib to use system defined proxy, if existent
2024-07-07 02:47:24 +02:00
John Ericson
41b6c735eb
Merge pull request #11054 from NixOS/meson-fixes
Meson fixes
2024-07-06 17:11:11 -04:00
Romain NEIL
514062c227 feat: configure aws s3 lib to use system defined proxy, if existent 2024-07-06 21:46:58 +02:00
Robert Hensing
bea54d116e Add resolvePath, filesetToSource indirections for Nixpkgs 2024-07-06 19:49:55 +02:00
Robert Hensing
da4c55995b ci.yml: Build non unit-tested components in meson_build 2024-07-06 19:15:53 +02:00
Robert Hensing
0729f0a113 packaging: Pass version directly 2024-07-06 17:52:57 +02:00
Robert Hensing
efd5f50f5e nix-perl: Add deps, use mkMesonDerivation 2024-07-06 17:52:57 +02:00
Robert Hensing
4c014e238b nix-main: Add openssl 2024-07-06 17:52:57 +02:00
Robert Hensing
4d0c55ae55 api docs: Use mkMesonDerivation 2024-07-06 17:52:57 +02:00
Robert Hensing
b7e5446b81 flake.nix: Remove unused binding 2024-07-06 17:52:57 +02:00
Robert Hensing
896eb7a44b
Merge pull request #11034 from obsidiansystems/meson-nix
Package libnixmain and libnixcmd with Meson
2024-07-06 01:26:59 +02:00
John Ericson
3acf3fc746 Package libnixmain and libnixcmd with Meson
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2024-07-05 16:40:55 -04:00
Robert Hensing
0b901e10ee
Merge pull request #11050 from hercules-ci/issue-10677
Explain when `man` is missing
2024-07-05 22:25:38 +02:00
John Ericson
ff9b6d0e1f
Merge pull request #11037 from fricklerhandwerk/document-config-parsing
use self-descriptive name for config file parser, document
2024-07-05 15:21:26 -04:00
Eelco Dolstra
d5461b9009
Merge pull request #11051 from Mic92/fix-prefetch
src/nix/prefetch: fix prefetch containing current directory instead o…
2024-07-05 20:33:05 +02:00
Robert Hensing
ddff76f667
Merge pull request #10973 from NixOS/meson-libexpr
Meson build for libexpr libflake, external C API, unit tests
2024-07-05 20:27:12 +02:00
Jörg Thalheim
05381c0b30
Update src/nix/prefetch.cc
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2024-07-05 19:45:03 +02:00
Jörg Thalheim
8cea1fbd97 src/nix/prefetch: fix prefetch containing current directory instead of tarball
When --unpack was used the nix would add the current directory to the
nix store instead of the content of unpacked.
The reason for this is that std::distance already consumes the iterator.
To fix this we re-instantiate the directory iterator in case the
directory only contains a single entry.
2024-07-05 19:18:49 +02:00
Robert Hensing
6ef00a503a Explain when man is missing
Have you seen this man?

Fixes #10677
2024-07-05 19:18:23 +02:00