Commit graph

6622 commits

Author SHA1 Message Date
Winter f9138c5ad6 npmHooks.npmInstallHook: allow disabling npm prune invocation
In some odd scenarios, `npm prune` either fails, or hangs. I have no idea
what could possibly be wrong at the moment, but let's provide an escape
hatch for packages that can still use the rest of the install hook's
functionality.
2023-05-28 00:47:54 -04:00
Yueh-Shun Li 1a89cfae1f buildGoModule: simplify go-module attribute structure without rebuild 2023-05-28 07:50:02 +10:00
zowoq 0ba51a51f8 buildGoModule: alias vendorSha256 to vendorHash 2023-05-27 09:19:47 +10:00
Ilan Joselevich 2b54d69007
Merge pull request #234072 from ShamrockLee/write-script-bin-mainprogram
writeScriptBin, writeShellScriptBin: add meta.mainProgram automatically
2023-05-26 17:07:42 +03:00
Yueh-Shun Li b29d5f60b8 writeScriptBin, writeShellScriptBin: add meta.mainProgram automatically 2023-05-26 04:54:03 +08:00
Cole Helbling 3e63608c7b makeInitrdNGTool: better errors
It's extremely frustrating seeing "Error: Os { code: 13, kind:
PermissionDenied, message: "Permission denied" }" without any hint as to
where exactly that occurred.

This commit fixes that by adding context to most errors.
2023-05-25 13:26:05 -07:00
figsoda 3be02ada9e buildGoModule: remove unused lambda parameters 2023-05-24 11:58:12 -04:00
figsoda abd5dfa013 buildGoModule: remove unused with builtins; 2023-05-24 11:56:21 -04:00
Atemu d5f0da152a Revert "Merge pull request #230693 from Atemu/fix/fhsenv-escape-runScript-path"
This reverts commit 840f2e0ac5, reversing
changes made to d3ed0402e5.

This breaks appimage which puts args into the runScript and we don't provide a
good way to pass thru additional args.

The actual bug was in nix-alien which should escape paths; providing a valid
runScript is the responsibility of the caller.
2023-05-22 11:34:04 -03:00
Winter 9117f01272
npmHooks.npmConfigHook: add npmRoot option 2023-05-21 17:26:22 -04:00
Lily Foster 9f6f397165
Merge pull request #206477 from winterqt/build-npm-package-patch-npm
buildNpmPackage: patch npm to work around various roadblocks
2023-05-21 11:16:56 -04:00
Ryan Hendrickson 0f6712d45a nix-prefetch-git: redirect git lfs to stderr 2023-05-21 09:05:49 +02:00
Winter 9f264f69f8
buildNpmPackage: use nodejs patch flag to work around roadblocks 2023-05-20 18:29:43 -04:00
figsoda 98b9e41f61 pkgs: fix typos 2023-05-19 22:31:04 -04:00
figsoda 9a7fd959fa
Merge pull request #228928 from DeeUnderscore/fix/replace-workspace-values-bool 2023-05-18 14:54:12 -04:00
Atemu 840f2e0ac5
Merge pull request #230693 from Atemu/fix/fhsenv-escape-runScript-path
buildFHSEnvBubblewrap: escape runScript path
2023-05-18 18:02:04 +02:00
Guillaume Maudoux 33399c9de8
Merge pull request #229008 from whonore/dafny-4
dafny: 2.3.0 -> 4.0.0
2023-05-17 09:53:06 +02:00
gilice 8991fac305 flutter: build-support: allow customizing wrapProgram args 2023-05-14 17:10:49 +02:00
github-actions[bot] 0b21b8d8a6
Merge master into staging-next 2023-05-13 06:01:08 +00:00
Maciej Krüger 0294e83aaa
Merge pull request #231319 from hacker1024/package/flutter-3.10
flutter: 3.7.12 -> 3.10.0
2023-05-13 03:14:42 +02:00
github-actions[bot] 2f665c348c
Merge master into staging-next 2023-05-13 00:02:05 +00:00
Lin Jian 133075787b emacs.pkgs.trivialBuild: generate autoload file 2023-05-12 20:42:09 -03:00
github-actions[bot] 206417b7a2
Merge master into staging-next 2023-05-12 18:01:18 +00:00
Jacek Galowicz cc8e4ed375
Merge pull request #225313 from hercules-ci/testers-runNixOSTest
testers.runNixOSTest: init
2023-05-12 16:04:26 +02:00
Sandro 1f4ba79877
Merge pull request #229851 from raphaelr/mknugetsource-without-nuget 2023-05-12 16:04:20 +02:00
hacker1024 fdbb342402 dart: Properly set the dependency list derivation name 2023-05-12 23:09:41 +10:00
hacker1024 b511926a89 dart: Use doPubGet when generating the dependency list 2023-05-12 23:09:41 +10:00
hacker1024 49ce83d5b4 dart: Spoof Git dependency version checks 2023-05-12 23:04:33 +10:00
github-actions[bot] 30ae8398a9
Merge master into staging-next 2023-05-12 12:01:26 +00:00
Ulrik Strid f05b051a58
Merge pull request #231405 from vbgl/ocaml-default-to-dune-version-3
ocamlPackages: default to version 3 of Dune
2023-05-12 12:42:40 +02:00
Vincent Laporte e7b211e3d2
ocamlPackages: default to version 3 of Dune 2023-05-12 05:50:40 +02:00
github-actions[bot] 84352fc449
Merge master into staging-next 2023-05-12 00:01:57 +00:00
Kira Bruneau d4652d33d6
Merge pull request #229770 from Misterio77/init-buildDartPackage
buildDartApplication: init
2023-05-11 14:43:20 -04:00
Robert Hensing ac1134f321 testers.runNixOSTest: init
An up to date alternative to pkgs.nixosTest
2023-05-11 19:12:07 +02:00
github-actions[bot] 387f5d9a5f
Merge master into staging-next 2023-05-11 12:01:42 +00:00
Atemu cd96817b29 buildFHSEnvBubblewrap: escape runScript path
Fixes https://github.com/NixOS/nixpkgs/issues/230651

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-05-11 08:28:05 +02:00
Dmitry Ivankov e0d1e77c23 bazel_5: 5.4.0->5.4.1
Also update the updater script.

https://github.com/bazelbuild/bazel/releases/tag/5.4.1

- [X] recalculate fetchAttrs digest for packages built with bazel_5
2023-05-10 16:09:19 +02:00
github-actions[bot] c3e196104d
Merge staging-next into staging 2023-05-10 06:02:13 +00:00
Alyssa Ross 376ba26812 buildRustPackage: disable auditing if it's broken
See also: ad3a532658 ("rust/cargo.nix: disable audit if audit.meta.broken")

Fixes cross eval of clippy.
2023-05-09 23:46:55 -04:00
github-actions[bot] 2d07e76d1a
Merge staging-next into staging 2023-05-10 00:03:33 +00:00
K900 f589521841
Merge pull request #230375 from lelgenio/fix-steam-beta-gsettings-schemas
steam: fix missing gsettings-schemas dependency
2023-05-09 21:35:52 +03:00
github-actions[bot] b5b52a946a
Merge staging-next into staging 2023-05-09 18:02:32 +00:00
Adam Joseph 0e9ef0a07d cc-wrapper: when merging gcc32 and gcc64, merge libgcc as well
Our gcc_multi and glibc_multi expressions merge together a
32-bit-targeted and 64-bit-targeted gcc.  However they do not thread
through the passthru.libgcc from these merged gccs.

This commit corrects that.

It also extends passthru.libgcc to allow a *list* rather than just a
single outpath.

Resolves part of #221891 (at least getting it back to the error
message it gave before).
2023-05-09 00:16:24 -07:00
lelgenio 8aafc553ae buildFHSEnv: use default values as fallback for XDG_DATA_DIRS 2023-05-08 18:56:51 -03:00
John Ericson f4868c6c7d
Merge pull request #229754 from rrbutani/fix/cc-wrapper-extra-positional-args
Support `--` in `cc-wrapper`
2023-05-08 06:55:52 -04:00
piegames 794b05a09d
Merge pull request #158968: Make fetchFromGitHub & friends overridable 2023-05-07 21:59:36 +02:00
github-actions[bot] 3510094ebe
Merge master into staging-next 2023-05-07 00:02:36 +00:00
figsoda 955f4f6512
Merge pull request #230177 from SuperSandro2000/lib-fromJSON-2
treewide: switch builtins.fromJSON(builtins.readFile ./file.json) to …
2023-05-06 14:12:43 -04:00
Sandro Jäckel 00000001b4
treewide: switch builtins.fromJSON(builtins.readFile ./file.json) to lib.importJSON ./file.json #2 2023-05-06 16:20:13 +02:00
github-actions[bot] 805ffdeca7
Merge master into staging-next 2023-05-06 12:01:05 +00:00