Artturin
ffb9a309b6
buildDotnetPackage: move buildInputs to nativeBuildInputs
...
they're run during the build so they belong there
2021-11-11 22:26:23 +02:00
Artturin
f77006c308
buildDotnetPackage: fix nativeBuildInputs
...
the nativeBuildInputs of the derivation that uses buildDotnetPackage overshadowed the nativeBuildInputs of buildDotnetPackage
so pkg-config wasn't getting added to the path
dotnet-packages: remove unused arg
2021-11-11 21:47:50 +02:00
markuskowa
26f5e6dd5f
Merge pull request #143237 from ck3d/fix-runInLinuxImage
...
vmTools: Fix missing backing format in runInLinuxImage
2021-11-11 20:39:17 +01:00
Sandro Jäckel
597e2ce523
fetchgithub: fix eval when passing forceFetchGit
2021-11-11 17:28:35 +01:00
Victor Engmark
8ed1104a4a
pkgs/build-support: Redirect to standard error rather than file "2"
2021-11-11 18:14:21 +13:00
github-actions[bot]
62b9b0d9e8
Merge staging-next into staging
2021-11-11 00:02:20 +00:00
github-actions[bot]
b199af176d
Merge master into staging-next
2021-11-11 00:01:45 +00:00
Dmitry Kalinkin
4af5e02055
Merge pull request #143079 from veprbl/pr/singularity_nonstd_store
...
singularity-tools.buildImage: fix building from non-standard store paths
2021-11-10 16:04:30 -05:00
github-actions[bot]
d5964b8c81
Merge staging-next into staging
2021-11-10 00:02:09 +00:00
github-actions[bot]
6e4d2d1f10
Merge master into staging-next
2021-11-10 00:01:31 +00:00
Sandro
9975de2d4e
Merge pull request #144693 from mkg20001/fetchgit-hash
2021-11-09 22:22:19 +01:00
Victor Engmark
3ce3e50053
Quote variable references ( #144838 )
...
* pkgs/build-support: Quote variable name
* pkgs/build-support: Quote variable reference
* pkgs/build-support: Quote variable references
Leads to a minor behavior change: there's no trailing space in the
output when `[[ "$linkType" == "static-pie" ]]` is true.
2021-11-09 19:55:40 +09:00
Maciej Krüger
5c2b1b6a29
fetchgit: support hash parameter alongside sha256
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-09 07:40:20 +01:00
John Ericson
05efb8ed91
build-support/rust/sysroot/src: Use dont*
instead of phase list
...
Making this separate commit because the original was moved out just the
way it was done before.
2021-11-08 21:38:58 +00:00
John Ericson
c9c3de0131
Update script as rust-src layout has changed
...
Use stub lib so `core` and `alloc` are handled symmetrically.
2021-11-08 20:38:59 +00:00
John Ericson
cbd00bab80
build-support/rust: Split out sysroot src derivation
...
Hoping to make it usable for `buildRustCrate` too.
2021-11-08 20:38:59 +00:00
Bernardo Meurer
174995d14f
writeShellApplication: set meta.mainProgram
2021-11-08 09:33:42 -08:00
Bernardo Meurer
ba7b7357ac
writeTextFile: allow passing extra derivationArgs
2021-11-08 09:33:40 -08:00
Bernardo Meurer
d8ec0eeab7
writeShellApplication: run pre/postCheck hooks
2021-11-08 09:33:38 -08:00
Bernardo Meurer
949182a4a2
writeShellApplication: document runtimeShell == stdenv.shell assumption
2021-11-08 09:33:37 -08:00
Bernardo Meurer
014b23232f
writeShellApplication: fix typo in inline docs
2021-11-08 09:33:36 -08:00
Bernardo Meurer
97de845b60
writeShellApplication: fix setting pipefail
2021-11-08 09:33:35 -08:00
Bernardo Meurer
21c299f077
writeShellApplication: get shellcheck from pkgsBuildHost
2021-11-08 09:33:34 -08:00
Bernardo Meurer
0e4f04b74c
writeShellApplication: buildInputs -> runtimeInputs
2021-11-08 09:33:33 -08:00
Bernardo Meurer
89979c9c5b
writeShellApplication: init
2021-11-08 09:33:32 -08:00
Victor Engmark
0383d1c760
pkgs/build-support: Remove unused local variable
2021-11-09 01:25:34 +09:00
John Ericson
4f81865aa1
Merge remote-tracking branch 'upstream/master' into staging-next
2021-11-07 20:51:04 +00:00
John Ericson
18ed048c7b
build-support/rust: Organize
...
- `toRustTarget` and friends pulled out from rust tools into rust
library. Since they don't depend on any packages they can be more
widely useable.
- `build-rust-package` gets its own directory
- `fetch-cargo-tarball` gets its own directory
2021-11-07 14:16:49 -05:00
github-actions[bot]
eeb7e66e97
Merge master into staging-next
2021-11-06 18:01:01 +00:00
Domen Kožar
e57174c9d2
Merge pull request #144653 from stephank/fix/libredirect
...
libredirect: fix on darwin
2021-11-06 07:05:59 -06:00
github-actions[bot]
a41ea4ced3
Merge master into staging-next
2021-11-06 06:01:07 +00:00
Alyssa Ross
4419e8ee8e
mirrors: prioritize HTTPS
2021-11-06 01:07:38 +00:00
Alyssa Ross
1b78d3720c
mirrors: use HTTPS where available
2021-11-06 01:07:36 +00:00
Alyssa Ross
246d34d57a
mirrors: remove inactive mirrors
2021-11-06 01:07:34 +00:00
Alyssa Ross
9c70596689
mirrors: update sunet base URLs
2021-11-06 00:45:08 +00:00
Stéphan Kochen
7acc0e054c
libredirect: workaround dyld env not inherited
2021-11-05 20:47:11 +01:00
Stéphan Kochen
d1a3b5c4cc
libredirect: use __interpose on darwin
...
DYLD_FORCE_FLAT_NAMESPACE was removed in recent versions of macOS.
2021-11-05 08:24:22 +01:00
github-actions[bot]
3567177949
Merge staging-next into staging
2021-11-03 18:10:58 +00:00
Robert Hensing
455e7f19d0
Merge pull request #144052 from hercules-ci/improve-trivial-builders-test
...
test.trivial-builders: Add test cases, fix test runner, rename
2021-11-03 18:10:42 +01:00
Alyssa Ross
703ffa2f5d
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
2021-11-03 07:34:33 +00:00
Lassulus
33f0c518f7
Merge pull request #143629 from sternenseemann/writers-fixes
...
writers: fix writeHaskell* for darwin, bintools-related cleanup
2021-11-02 20:21:00 +01:00
Felix Buehler
e601787f7e
buildOcaml: rename name to pname
2021-11-01 16:19:30 +01:00
github-actions[bot]
9e9ee310f8
Merge staging-next into staging
2021-11-01 12:01:37 +00:00
github-actions[bot]
cc41bb5851
Merge master into staging-next
2021-11-01 12:01:00 +00:00
IvarWithoutBones
af339c5cf8
buildDotnetModule: add support for running unit tests
2021-11-01 02:06:54 +01:00
Robert Hensing
51f7c15df9
test.trivial-builders: Add test cases, fix test runner, rename
...
The writeStringReferencesToFile didn't handle non-unique references
to the same path correctly.
2021-11-01 00:06:03 +01:00
github-actions[bot]
9a002bac35
Merge staging-next into staging
2021-10-29 18:01:38 +00:00
github-actions[bot]
6317a19147
Merge master into staging-next
2021-10-29 18:01:00 +00:00
IvarWithoutBones
bc193f80c4
buildDotnetModule: create nuget source seperately && use stdenvNoCC
2021-10-29 08:27:51 -07:00
Sandro
31b495592f
Merge pull request #143347 from SuperSandro2000/appimage-wrapType2-pname-version
2021-10-29 16:42:01 +02:00
sternenseemann
b1197ac729
writers: run fixupPhase for darwin bin writers
...
mach-o executables we produce in writers are not always fully valid for
some reason. In normal derivation this is fixed in fixupPhase and we can
replicate this behavior here easily.
Resolves #132660 .
2021-10-29 12:34:48 +02:00
sternenseemann
3090ed3f40
writers: use platform's default strip
...
bintools points to the default bintools (e. g. cctools, binutils,
llvmPackages.bintools) for the next stage. So instead of using GNU
binutils' strip which may not support the current platform, we need to
use buildPackages.bintools-unwrapped.
Additionally we need to use `-S` over `--strip-unneeded` as the latter
is a GNU binutils-specific flag and not supported by cctools.
Also add the correct targetPrefix in order to support cross-compilation
correctly here at least.
2021-10-29 12:18:58 +02:00
github-actions[bot]
37b1afa489
Merge staging-next into staging
2021-10-28 18:02:03 +00:00
Martin Weinelt
da1f248229
Merge remote-tracking branch 'origin/master' into staging-next
2021-10-28 19:51:45 +02:00
Yureka
842a0d94cb
fetchYarnDeps: use fakeSha256 if no hash is given
2021-10-29 02:43:42 +09:00
Yureka
1565ab9717
prefetch-yarn-deps: ignore file: dependencies
2021-10-29 02:43:42 +09:00
Yureka
6c99b3d0b7
prefetch-yarn-deps: support git:// dependencies
2021-10-29 02:43:42 +09:00
Alyssa Ross
3f01b576af
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
...
Conflicts:
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
nixos/doc/manual/release-notes/rl-2111.section.md
2021-10-28 16:07:38 +00:00
Sandro Jäckel
db44b28a06
appimage: support pname+version for wrapType2
2021-10-28 15:21:32 +02:00
github-actions[bot]
ea4da560ff
Merge master into staging-next
2021-10-28 12:01:32 +00:00
talyz
aa22fa9c0b
trivial-builders: Add writeStringReferencesToFile
...
Add writeStringReferencesToFile, a builder which extracts a string's
references to derivations and paths and writes them to a text file,
removing the input string itself from the dependency graph. This is
useful when you want to make a derivation depend on the string's
references, but not its content (to avoid unnecessary rebuilds, for
example).
2021-10-28 12:55:01 +02:00
github-actions[bot]
a1e570b43e
Merge master into staging-next
2021-10-28 00:01:36 +00:00
Christian Kögler
9bf244964d
runInLinuxImage: Add missing backing format
2021-10-28 00:05:27 +02:00
Christian Kögler
0625121793
buildInDebian: fix test
2021-10-28 00:03:27 +02:00
Kerstin Humm
5df2d4d345
default-crate-overrides: remove two crates that are probably irrelevant
2021-10-27 22:29:10 +02:00
Kerstin Humm
f1bacf5b07
default-crate-overrides: expat-sys, glib-sys, libudev-sys, sdl2-sys, servo-fontconfig, skia-bindings
2021-10-28 03:07:33 +09:00
github-actions[bot]
22401dcc39
Merge master into staging-next
2021-10-27 18:01:02 +00:00
Ryan Burns
f67d4dd9c1
Merge pull request #142616 from r-burns/toplevel-system
...
treewide: remove toplevel `system` attr
2021-10-27 10:03:24 -07:00
figsoda
5a08a28803
rustPlatform: add support for features
2021-10-27 08:08:03 -04:00
bb010g
a1ed62e586
releaseTools.antBuild: remove
...
The sole consumer in Nixpkgs of `releaseTools.antBuild` is
`pkgs/development/libraries/junit`, which has been broken since
2015-09-08. The sole consumer in Nixpkgs of `junit` is
`pkgs/development/libraries/junixsocket`, which hasn't built due to
`junit` since 2015-09-08. All three are removed due to their obvious
lack of use.
All other packages in Nixpkgs depending on junit consume
`pkgs/development/java-modules/junit`, which is not broken.
Any downstreams that have kept using these `junit` or `junixsocket`
packages since 2015-09-08 have basically already vendored the packages
via patching them, so no aliases are provided.
2021-10-27 13:21:27 +03:00
bb010g
29fedf210f
canonicalize-jars-hook: add
...
A build hook to run functions previously only implemented privately in
`pkgs/build-support/release/functions.sh`.
2021-10-27 13:21:27 +03:00
Dmitry Kalinkin
777a4ba508
singularity-tools.buildImage: fix building from non-standard store paths
2021-10-27 02:11:44 -04:00
github-actions[bot]
a16b1b54b3
Merge staging-next into staging
2021-10-25 12:02:08 +00:00
github-actions[bot]
0336295c41
Merge master into staging-next
2021-10-25 12:01:31 +00:00
Robert Hensing
8ecfaf3543
dockerTools: Fix test
2021-10-25 12:25:01 +02:00
Artturi
44403b728b
patchutils: add 0.4.2 variant + remove meta.executable + enable tests + fix inter-dependencies by wrapping ( #141567 )
2021-10-25 13:13:22 +03:00
Pavol Rusnak
8e18c70837
Merge pull request #142218 from IvarWithoutBones/use/nbxporer-buildDotnetModule
...
{btcpayserver,nbxplorer}: use buildDotnetModule
2021-10-25 10:21:49 +02:00
Stefan Junker
445510ed69
rust/import-cargo-lock: hopefully make nested crate test work on macos
2021-10-25 01:11:45 +02:00
IvarWithoutBones
26cf7887b5
buildDotnetModule: fix variable handling
2021-10-25 00:24:09 +02:00
Stefan Junker
f9a340a916
rust/import-cargo-lock: add test git-dependency-rev-non-workspace-nested-crate
2021-10-24 20:27:42 +02:00
John Ericson
e2eccfc521
Merge pull request #141072 from r-burns/validatepkgconfig-cross
...
[staging] validatePkgConfig: fix cross-compilation
2021-10-23 23:09:42 -04:00
Stefan Junker
b2aa19efe7
rust: find nested packages in git repositories
...
this mimics the heuristic cargo uses for finding crates in their git
repositories ([cargo-issue-1462]).
[cargo-issue-1462]: https://github.com/rust-lang/cargo/issues/1462
2021-10-24 01:52:44 +02:00
Ryan Burns
9fb1f66d30
validatePkgConfig: fix cross-compilation
...
Fixes cross-compilation for duktape and pugixml
2021-10-23 15:50:21 -07:00
github-actions[bot]
c3a27b2a6c
Merge staging-next into staging
2021-10-23 18:01:53 +00:00
github-actions[bot]
50a5d0f17c
Merge master into staging-next
2021-10-23 18:01:15 +00:00
Yuka
49a5b293b9
prefetch-yarn-deps: add nix dependency ( #142664 )
...
fixes "Error: spawn nix-hash ENOENT"
2021-10-23 19:13:34 +02:00
Ryan Burns
aed6bb336e
build-support/docker: remove toplevel system attr
2021-10-22 14:04:05 -07:00
github-actions[bot]
f9ab4de694
Merge staging-next into staging
2021-10-22 18:01:54 +00:00
Jonathan Ringer
fc25d94010
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
pkgs/development/python-modules/jupyter-client/default.nix
pkgs/development/python-modules/jupyterlab-git/default.nix
2021-10-22 09:33:07 -07:00
Silvan Mosberger
98f82e9c35
Merge pull request #141789 from pennae/eval-opt
...
lib: make extendDerivation lighter on eval
2021-10-21 20:17:32 +02:00
Pavol Rusnak
e32dde36b0
Merge pull request #138033 from mikepurvis/allow-gitlab-protocol-override
...
Allow overriding fetchFromGitLab protocol.
2021-10-21 18:12:47 +02:00
github-actions[bot]
eebbebca41
Merge staging-next into staging
2021-10-20 12:02:09 +00:00
github-actions[bot]
cdc8393c04
Merge master into staging-next
2021-10-20 12:01:31 +00:00
Yureka
84e02be598
fetchYarnDeps, mkYarnModules: verify the FOD hash is up-to-date
2021-10-20 11:39:16 +02:00
Yureka
d6e0195ccd
prefetch-yarn-deps, fetchYarnDeps: init
2021-10-20 11:39:16 +02:00
github-actions[bot]
413d93fade
Merge staging-next into staging
2021-10-20 06:01:49 +00:00
github-actions[bot]
2d8f645c79
Merge master into staging-next
2021-10-20 06:01:15 +00:00
figsoda
5f33ded601
Merge pull request #142154 from figsoda/cargo-hash-default-null
...
buildRustPackage,fetchCargoTarball: accept empty hashes
2021-10-19 22:41:58 -04:00
figsoda
f441e6b7f4
buildRustPackage,fetchCargoTarball: accept empty hashes
2021-10-19 20:56:46 -04:00
figsoda
836e6d3e02
buildRustPackage: remove unused arguments, minor styling changes
2021-10-19 20:11:28 -04:00