Vladimír Čunát
94d6c732d1
dockerTools: fixup evaluation without allowed aliases
...
This is a regression from PR #172736
2022-11-27 10:37:55 +01:00
figsoda
4e86ddcdc7
Merge pull request #202957 from figsoda/appimage
...
appimageTools.wrapType2: passthru src to make nix-update work
2022-11-27 00:17:34 -05:00
Silvan Mosberger
a566d0842e
Merge pull request #172736 from infinisil/docker-nix-shell
2022-11-26 20:21:59 +01:00
figsoda
e2b62ea76c
appimageTools.wrapType2: passthru src to make nix-update work
2022-11-25 21:41:37 -05:00
Winter
7ab5323cfb
npmHooks.npmInstallHook: pass --no-save to prune
2022-11-25 15:47:05 -05:00
Sandro Jäckel
fde0382efd
buildNpmPackage: forward pre/postPatch to fetchNpmDeps
2022-11-25 15:47:05 -05:00
Sandro
84477691f7
fetchNpmDeps: allow package-json.lock symlinks, update hint
2022-11-25 15:47:05 -05:00
Lily Foster
b023946d2b
prefetch-npm-deps: fix hash stability
...
GNU tar will apparently silently include mtime of files if --mtime is
passed with an unrecognized date format. This led to hash instability
from those mtimes and this fixes it to force all mtimes to epoch
timestamp 0.
2022-11-23 20:52:08 -05:00
Jörg Thalheim
83c19c791d
Merge pull request #200757 from Flakebi/rocm-test
...
nixos/tests: add ROCm and amdvlk tests
2022-11-23 09:56:05 +01:00
figsoda
82fe76d1cd
carnix,cratesIO: remove
2022-11-22 14:10:25 -05:00
Sebastian Neubauer
76a4adc19c
makeImpureTest: init function for hardware tests
...
Add a function to create tests that use hardware from the host system
like GPUs.
2022-11-22 16:54:32 +01:00
Winter
009a234bdd
prefetch-npm-deps: repack hosted git deps
...
Previously, we stored the tarballs from the hosted Git providers directly in the cache. However, as we've seen with `fetchFromGitHub` etc, these files may change subtly.
Given this, this commit repacks the dependencies before storing them in the cache.
2022-11-21 15:00:08 -05:00
Winter
091d039b12
prefetch-npm-deps: deduplicate dependencies when parsing lockfile
...
A `package-lock.json` file can contain multiple instances of the same dependency, which caused unnecessary downloads and duplicate index entries in the generated cache.
2022-11-21 15:00:08 -05:00
Winter
b117b359db
prefetch-npm-deps: move tests to separate file
2022-11-21 15:00:08 -05:00
Winter
3d5f77f496
npmHooks.npmConfigHook: sugget specifying legacy peer deps option for all commands
2022-11-21 15:00:08 -05:00
Winter
93334f5234
npmHooks.npmInstallHook: pass install flags to prune
2022-11-21 15:00:08 -05:00
Winter
80ecb954e9
npmHooks.npmConfigHook: add diagnostic for when dependencies aren't provided
2022-11-21 15:00:08 -05:00
Winter
c0e7124bcc
npmHooks.npmConfigHook: add some missing quotes around variable assignments
2022-11-21 15:00:08 -05:00
Winter
68d5b19fca
npmHooks.npmConfigHook: also patch shebangs after rebuilding
2022-11-21 15:00:08 -05:00
Winter
8e651111b7
npmHooks.npmBuildHook: mention dontNpmBuild if script fails to run
2022-11-21 15:00:08 -05:00
Winter
c6903a01e7
prefetch-npm-deps: add etherpad-lite v1.8.18 as a test
2022-11-21 15:00:08 -05:00
Winter
03a7739d75
prefetch-npm-deps: skip bundled dependencies in v1 lockfiles
2022-11-21 15:00:08 -05:00
Winter
276982bd5e
prefetch-npm-deps: add support for hosted git shorthands
2022-11-21 15:00:08 -05:00
Winter
cc5756b171
prefetch-npm-deps: add support for link dependencies in v2 lockfiles
2022-11-21 15:00:08 -05:00
Sandro
3a05360e53
Merge pull request #200082 from panicgh/fetchgit-sparse-checkout
2022-11-21 20:00:56 +01:00
Sandro
702768bc28
Merge pull request #202174 from mupdt/containers-prefer-local-builds
2022-11-21 19:49:54 +01:00
Elis Hirwing
566793db55
Merge pull request #198037 from SuperSandro2000/php-cleanup
...
phpExtensions: little cleanup
2022-11-21 08:25:31 +01:00
Robert Hensing
29352751cf
Merge pull request #196251 from hercules-ci/testers-build-failure-and-equal-contents
...
`testers`: Add `testBuildFailure` and `testEqualContents`
2022-11-21 06:17:00 +01:00
Sandro Jäckel
023798d172
build-pecl: fetch via https
2022-11-21 00:27:34 +01:00
Artturin
341e6fd558
splice.nix: start deprecating nativeDrv and crossDrv
2022-11-19 00:04:54 +02:00
mupdt
bb5827a692
dockerTools: prefer local builds
2022-11-18 09:31:53 -05:00
figsoda
7c6353c884
Merge pull request #201472 from ncfavier/remove-dead-make-symlinks
...
remove dead `make-symlinks` builder
2022-11-16 14:39:44 -05:00
Aaron Andersen
adbe2f532c
Merge pull request #199300 from Fuuzetsu/escape-rust-exports
...
rustBuildCrate: properly handle cargo env pragmas with spaces
2022-11-16 07:15:25 -05:00
Naïm Favier
4d68c2f0ba
remove dead make-symlinks
builder
...
Introduced in 5808ac7148
, never used again
after b06335a835
.
2022-11-16 11:20:50 +01:00
Nicolas Benes
c95d7d5a8c
treewide: make sparseCheckout a list of strings
2022-11-15 19:46:12 +01:00
Nicolas Benes
f6b07f0e2f
fetchgit: make sparseCheckout a list of strings
...
The `sparseCheckout` argument allows the user to specify directories or
patterns of files, which Git uses to filter files it should check-out.
Git expects a multi-line string on stdin ("newline-delimited list", see
`git-sparse-checkout(1)`), but within nixpkgs it is more consistent to
use a list of strings instead. The list elements are joined to a
multi-line string only before passing it to the builder script.
A deprecation warning is emitted if a (multi-line) string is passed to
`sparseCheckout`, but for the time being it is still accepted.
2022-11-15 19:45:33 +01:00
Bernardo Meurer
43bf542ccd
tests.trivial-builders.linkFarm: init
2022-11-15 11:47:36 -05:00
Bernardo Meurer
6382598677
linkFarm: make last entry win in case of list repeats
2022-11-15 11:45:20 -05:00
Robert Hensing
449ae7573b
Merge pull request #170048 from lovesegfault/link-farm-passthru
...
linkFarm: add entries to passthru
2022-11-15 17:39:43 +01:00
Bernardo Meurer
a93aed5bab
linkFarm: allow entries to be an attrset
2022-11-15 11:01:52 -05:00
Bernardo Meurer
b54257fb36
linkFarm: add entries to passthru
2022-11-15 10:59:31 -05:00
github-actions[bot]
f3a93620b1
Merge master into staging-next
2022-11-10 12:01:27 +00:00
Shamrock Lee
6386d79326
patchRcPath hooks: use the passthru argument
2022-11-10 09:27:40 +08:00
Shamrock Lee
da31bd5673
patchRcPathBash, patchRcPathCsh, patchRcPathFish, patchRcPathPosix: init
...
Init patchRcPath hooks, which provides
utilities to patch shell scripts to be sourced by users.
Add test cases and documentation.
2022-11-10 09:23:52 +08:00
github-actions[bot]
020ea91183
Merge master into staging-next
2022-11-10 00:02:27 +00:00
John Ericson
e94d54dd86
build-support/rust/lib: Add toTargetFamily
...
Taken from https://github.com/kolloch/crate2nix/pull/255/files , it
belongs in Nixpkgs not crate2nix.
I have been using that P.R. for a few months without incident.
2022-11-09 15:52:01 -05:00
github-actions[bot]
d99020653d
Merge master into staging-next
2022-11-09 18:01:11 +00:00
Winter
16722903aa
buildNpmPackage: init
2022-11-09 10:35:59 -05:00
Silvan Mosberger
a1cf249394
dockerTools.buildNixShellImage: Chown nix directories
...
To the user running the docker image. If a Nix binary is available in
the resulting derivation, this then behaves like a single-user Nix
installation, except that already-written /nix/store paths can't be
changed. Most notably it makes Nix work not have to rely on a chroot
store in the image
2022-11-07 19:38:09 +01:00
github-actions[bot]
e51ba60580
Merge master into staging-next
2022-11-07 00:03:30 +00:00