Commit Graph

8662 Commits

Author SHA1 Message Date
無名氏
5647f0905b writers: make babashka interpreter and check configurable 2024-11-11 19:49:17 +08:00
Emily
3a6d4d006a
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc (#354197) 2024-11-07 18:16:05 +00:00
Markus Kowalewski
b46372651a
mpiCheckPhaseHook: use preset topoloy file in sandbox for mpich (#354136) 2024-11-07 13:02:23 +01:00
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
qbisi
93f58b50c0 mpiCheckPhaseHook: use preset topoloy file in sandbox for mpich 2024-11-07 11:59:08 +08:00
Sandro
0168c4f291
buildNpmPackage: pass down patchFlags to fetchNpmDeps (#350761) 2024-11-05 15:49:50 +01:00
Fabián Heredia Montiel
6e80056430
buildFHSEnv: rewrite env building (#351928) 2024-11-04 17:21:12 -06:00
Philip Taron
2b12f69e85
spacenavd: resolve merge conflicts and address PR feedback 2024-11-04 09:02:39 -08:00
K900
a182a53243 buildFHSEnv: rewrite env building
This replaces the mess of buildEnvs with a single Rust binary that
spits out a mostly-complete root filesystem for an fhsenv.

The main goal is to have includeClosures, as we want all of the
dependencies to be in the fhsenv to avoid Steam's (and others')
LD_LIBRARY_PATH shenanigans, but without 32-bit libraries leaking
into lib64 when a 64-bit package like mangohud depends on a 32-bit
version of itself.

We "fix" this by actually looking at the files and explicitly moving
32-bit stuff to $out/lib32. This could be avoided if we had recursive
Nix, or at least system info in exportReferencesGraph, but alas.

For some reason this also shrinks the fhsenvs massively, even though
there's currently no layout optimization (e.g. a package with paths
like lib/foo/{bar,baz} will produce two symlinks in the output, even
when it's more optimal to symlink lib/foo to $out/lib/foo directly).
2024-11-04 10:13:04 +03:00
Philip Taron
e50c6cab11
treewide: fix links to specifications.freedesktop.org (#350918) 2024-11-03 09:06:56 -08:00
Victor Duarte
85f4044fc3
Update pkgs/build-support/setup-hooks/desktop-to-darwin-bundle.sh 2024-11-03 17:39:02 +01:00
Jonas Chevalier
b508b87938
trivial-builders: add missing passthru argument (#320973) 2024-11-02 21:26:26 +01:00
Markus Kowalewski
17aacfb690
mpiCheckPhaseHook: disable openmpi's ssh plugin (#351473) 2024-11-02 13:33:57 +01:00
zimbatm
d04d2858c9 writeShellApplication: add passthru argument 2024-11-01 17:16:58 +01:00
zimbatm
f4789133b8 concatTextFile: add passthru argument 2024-11-01 17:16:58 +01:00
zimbatm
c18e038097 writeTextFile: add support for passthru 2024-11-01 17:16:58 +01:00
Philip Taron
8d9fcbc47a
tests/srcOnly: init (#347548) 2024-11-01 09:13:09 -07:00
Yureka
0f216e2578 tree-wide: switch initrd generators back to gnu cpio
Originally, we switched to bsdtar from libarchive to solve a reproducibility issue related to hardlinks

As of gnu cpio 2.14 the --ignore-dirnlink option is introduced and now included in --reproducible, which solves this issue

By switching back, we are in turn solving an issue in libarchive >=3.7.5 erroring out with "Error reading archive -: (null)"

Change-Id: Ib6140d599b6547d8e941b0251ce996e303c41fa6
2024-10-31 01:21:59 +01:00
github-actions[bot]
09d8c7ec2f
Merge master into staging-next 2024-10-29 18:04:32 +00:00
Lin Jian
cf3f6beff7
fetchFromSavannah: add passthru.gitRepoUrl
This can be used by update scripts such as unstableGitUpdater[1].

[1]: 1dcca7a82a/pkgs/common-updater/unstable-updater.nix (L15)
2024-10-29 18:11:52 +08:00
K900
66f01b7af9 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 15:11:30 +03:00
Emery Hemingway
da6da7189e buildNimPackage: move into /pkgs/build-support, tidy OWNERS 2024-10-28 10:26:14 +00:00
Fabián Heredia Montiel
34b62f7c47 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-27 16:10:56 -06:00
Thiago Kenji Okada
80e7a05eed buildGraalvmNativeImage: remove workaround for Nix environment variables 2024-10-27 12:22:37 +00:00
K900
f21f4ca3ee Merge remote-tracking branch 'origin/master' into staging-next 2024-10-26 21:05:47 +03:00
Markus Kowalewski
6b6b6c3837 mpiCheckPhaseHook: disable openmpi's ssh plugin
openmpi requires SSH to run. Set flags to run off SSH usage.
2024-10-26 17:31:22 +02:00
Thomas Gerbet
31ab653f7e fetchurl: revert enabling TLS verification when NIX_SSL_CERT_FILE
This reverts commit f829274128.
2024-10-26 13:58:19 +02:00
github-actions[bot]
ef782655d2
Merge master into staging-next 2024-10-24 18:04:38 +00:00
Victor Duarte
f2b58efde4 fix links to specifications.freedesktop.org 2024-10-24 13:00:55 +02:00
K900
dee94df6f2 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 09:28:51 +03:00
Artemis Tosini
6da0a87109
bintools-wrapper: Set dynamic-linker on OpenBSD
Now that ld.so is symlinked into the libc derivation,
we can use it as a dynamic linker.
In my testing, OpenBSD does not have any issues with executing from
a symlinked ld.so.
2024-10-24 00:43:24 +00:00
Philip Taron
eee954a451
trivial: make symlinkJoin support pname+version alone (#344645) 2024-10-23 14:09:11 -07:00
Philip Taron
db44da13e1
fetchurl: enable TLS verification when NIX_SSL_CERT_FILE is set (#350222) 2024-10-23 14:07:17 -07:00
Philip Taron
c73098dfbb
nix-prefetch-git: fix error in home folder cleanup (#350683) 2024-10-23 13:03:47 -07:00
piegames
ad8d051645
treewide: Fix indentation in strings (#350296) 2024-10-23 21:44:22 +02:00
Christoph Heiss
f52c685f97
buildNpmPackage: pass down patchFlags to fetchNpmDeps
`fetchNpmDeps` works from the exact same source tree, thus `patchFlags`
must be respected so that any patches get applied correctly.

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-10-23 21:28:12 +02:00
thomasjm
4f13c7cc7b nix-prefetch-git: fix error in home folder cleanup 2024-10-23 03:24:02 -07:00
piegames
68927918d0 treewide: Fix indentation in strings
The indentation stripping semantics of strings are fairly bad and have a
few gotchas where the resulting string has not the intended indentation.
This commit fixes most if not all such instances in Nixpkgs.

I tried to strive a balance between keeping the diff small and
reformatting/refactoring the code to look better. In general,
reformatting should be left to Nixfmt.

Note that this causes a lot of rebuilds by design. All changes need to
be thoroughly vetted and reviewed for correctness. There is no automatic
way to prove correctness.

List of files to fix generated by running
https://gerrit.lix.systems/c/lix/+/2092 on Nixpkgs and looking at the
warnings.
2024-10-22 21:36:42 +02:00
github-actions[bot]
5a11b86f67
Merge master into staging-next 2024-10-22 18:04:37 +00:00
adisbladis
174ae77ad8
nodejs/importNpmLock: init source overrides option (#338973) 2024-10-22 17:51:32 +00:00
Thomas Gerbet
f829274128 fetchurl: enable TLS verification when NIX_SSL_CERT_FILE is set
This is a follow-up to a169553f7e.
In most cases it should allow the TLS verification to be enabled.
It also makes the behavior of `fetchurl` more consistent with other fetchers
like `fetchgit`.

Ideally we would always fallback on `cacert` but I am not sure how to build
`cacert` during bootstrap without making an unmaintainable mess.
2024-10-22 14:58:54 +02:00
github-actions[bot]
f2d7c5202d
Merge master into staging-next 2024-10-21 18:04:46 +00:00
github-actions[bot]
8164a7aa6d
Merge master into staging-next 2024-10-21 00:14:52 +00:00
qbisi
0c5883bbce mpiCheckPhaseHook: add parameters to bypass errors in sandbox 2024-10-21 07:20:30 +08:00
K900
05624e48e2 substituteAll: validate arguments
So no one can repeat my mistakes.
2024-10-20 18:55:15 +03:00
github-actions[bot]
d0c2de8c22
Merge master into staging-next 2024-10-19 00:14:00 +00:00
Fernando Rodrigues
d175e88817
xen: switch to seabios-qemu, use absolute path to firmware
Related: #342692
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-10-18 15:53:57 +00:00
github-actions[bot]
275a4ece4b
Merge master into staging-next 2024-10-18 00:14:07 +00:00
Julius Michaelis
c4c95cac81 Revert "buildRustPackage: disable cargo-auditable on pkgsStatic aarch64"
This reverts commit 0eed8836c5.
2024-10-17 22:17:39 +02:00
Julius Michaelis
88c41d8a91 Revert "rust: allow linker to be different from compiler"
This reverts commit b8076b893e.
2024-10-17 22:17:39 +02:00