1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
Commit graph

3602 commits

Author SHA1 Message Date
Rebecca Turner ff9e35236c
haskell.mkDerivation: Support sourceRoot, setSourceRoot
Allow setting `sourceRoot` and `setSourceRoot` in the arguments to
`haskellPackages.mkDerivation`. These arguments are passed directly to
`stdenv.mkDerivation`.

It may be worth reading over `pkgs/stdenv/generic/setup.sh` and checking
if there's other unsupported variables which may be useful. It may also
be worth adding an argument like `extraAttrs` to be passed to
`stdenv.mkDerivation` directly, as an escape hatch.
2024-10-25 09:41:50 -07:00
github-actions[bot] 8d38d01221
Merge staging-next into staging 2024-10-25 06:05:28 +00:00
github-actions[bot] 3f6af763b1
Merge master into staging-next 2024-10-25 06:05:00 +00:00
Matthias Beyer c04462bf2d
doc: Add missing debian12 attribute names (#339780) 2024-10-25 07:55:17 +02:00
K900 720d475962 Merge branch 'staging-next' into staging 2024-10-25 07:59:31 +03:00
Fabián Heredia Montiel da7fb8d0ef Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 17:53:05 -06:00
Pyrox 09cec0f560
pnpm.fetchDeps: pnpmWorkspace -> pnpmWorkspaces 2024-10-24 15:37:30 -04:00
github-actions[bot] 31c26ff594
Merge staging-next into staging 2024-10-24 12:06:21 +00:00
Victor Duarte f2b58efde4 fix links to specifications.freedesktop.org 2024-10-24 13:00:55 +02:00
Tomo 5dc0f222b4 doc/hooks/just: fix link
Related:
https://github.com/casey/just/issues/2368
2024-10-24 07:01:14 +00:00
K900 dee94df6f2 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 09:28:51 +03:00
Philip Taron eee954a451
trivial: make symlinkJoin support pname+version alone (#344645) 2024-10-23 14:09:11 -07:00
github-actions[bot] e14936ef02
Merge staging-next into staging 2024-10-22 18:05:05 +00:00
Fabián Heredia Montiel fdc64cfee0 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-22 09:14:28 -06:00
Austin Horstman eaadc9e24b
docs/vim.section.md: Add note about nvimRequireCheck (#349864)
We are trying to use this more often but, at the moment, it's a manual
addition to overrides.nix. Add notes about the benefits of adding it and
how it can help identify missing dependencies.
2024-10-22 10:16:11 +02:00
github-actions[bot] 5d3d06d621
Merge staging-next into staging 2024-10-22 06:05:27 +00:00
Fabián Heredia Montiel 1b7dd985dc Merge remote-tracking branch 'origin/master' into staging-next 2024-10-21 19:17:30 -06:00
github-actions[bot] 6a08749f82
Merge staging-next into staging 2024-10-22 00:14:47 +00:00
John Ericson 53c11b7bb7
meson/setup-hook.sh: make build directory configurable (#342868) 2024-10-21 17:31:27 -04:00
sternenseemann 9ddc3313c8
haskellPackages: update hackage and stackage (#346720) 2024-10-21 22:10:48 +02:00
John Ericson 1e30137109 doc: Improve CMake setup hook docs, following Meson's
See also #342868
2024-10-21 12:22:10 -04:00
Valentin Gagarin 1ceba9367c meson/setup-hook.sh: make build directory configurable 2024-10-21 12:11:35 -04:00
github-actions[bot] e7735afbdc
Merge master into haskell-updates 2024-10-21 00:17:01 +00:00
github-actions[bot] c7ac9aa65f
Merge staging-next into staging 2024-10-21 00:15:16 +00:00
github-actions[bot] 8164a7aa6d
Merge master into staging-next 2024-10-21 00:14:52 +00:00
Artturin 2db8942790
doc/stdenv/cross-compilation: Add 'Using -static outside a isStatic platform' (#344985) 2024-10-20 22:34:36 +03:00
github-actions[bot] 857254fd4a
Merge master into haskell-updates 2024-10-20 00:18:04 +00:00
Artturin 3f144b1aa0 doc/stdenv/cross-compilation: Add 'Using -static outside a isStatic platform'
This issue often comes up when builds use `-static` in their own build
system

This may not be the correct location for this as it's not strictly a
cross issue, but it's the best one I can think of

Inspired by someone wanting to build a `riscv-busybox-initramfs` and just
adding `pkgsCross.riscv32.stdenv.cc` to `nativeBuildInputs`
2024-10-20 01:00:06 +03:00
github-actions[bot] 303c125bf0
Merge staging-next into staging 2024-10-19 18:04:20 +00:00
K900 2ab7280fa2 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-19 15:07:50 +03:00
Aleksana 8474a26e8a
doc/languages-frameworks/gnome: update Qt package example (#348646) 2024-10-19 15:19:48 +08:00
Tomo e4248a8398 doc/languages-frameworks/gnome: update Qt package example
Part of #180841

Updated the existing example to reflect changes from a later version of
the same package:
b293f6561e/pkgs/applications/misc/calibre/default.nix

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2024-10-19 04:02:45 +00:00
github-actions[bot] 9f8ba167d5
Merge master into haskell-updates 2024-10-19 00:16:02 +00:00
github-actions[bot] 7982facdc3
Merge staging-next into staging 2024-10-18 18:04:53 +00:00
github-actions[bot] 2c176e14b1
Merge master into staging-next 2024-10-18 18:04:25 +00:00
Harry Askham 065da7698d doc: Cross-link mention of symlinkJoin in 'Multiple-output packages'
Per #36886, would have saved me some time today to have the trivial
builder more visible.
2024-10-18 20:02:03 +02:00
github-actions[bot] b0a1bdbc97
Merge staging-next into staging 2024-10-18 12:06:04 +00:00
github-actions[bot] a9f08a2b87
Merge master into staging-next 2024-10-18 12:05:39 +00:00
Robert Hensing 01eb8df5f1
Rename macos-builder.nix -> nix-builder-vm.nix (#347255) 2024-10-18 11:26:20 +02:00
github-actions[bot] c681735bf7
Merge master into haskell-updates 2024-10-18 00:16:08 +00:00
github-actions[bot] b06c5381ef
Merge staging-next into staging 2024-10-17 18:04:56 +00:00
github-actions[bot] 7c78a608b4
Merge master into staging-next 2024-10-17 18:04:30 +00:00
Silvan Mosberger 131f480cc1
doc/README: More anchors to link to (#347808) 2024-10-17 16:30:09 +02:00
sternenseemann cd3949a15c haskellPackages.Cabal_3_6_3_0: remove at 3.6.3.0 2024-10-17 15:48:55 +02:00
Martin Weinelt 8044c0cc0a
python314: init at 3.14.0a1
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-alpha-1
2024-10-16 03:42:47 +02:00
Vladimír Čunát 8810e738c8
GNOME: 46 → 47 (#333911) 2024-10-15 18:07:04 +02:00
Someone c6a5917666
docs: update the CUDA section with how to use the nvidia-container-toolkit (#344188) 2024-10-14 20:00:21 +00:00
Bobby Rong 87063ab9d8
doc/tauri: Don't use alias in example
Fixes ccec93c1c7.
2024-10-14 20:54:20 +08:00
Bobby Rong c0a9799ad1
tinysparql: Renamed from tracker
The project renamed in 3.8.

This commit is done by hand.
2024-10-14 20:54:11 +08:00
github-actions[bot] ca2d394166
Merge master into staging-next 2024-10-11 12:05:38 +00:00
Lin Jian 7e72cc4e38
doc: fix typo 2024-10-11 09:22:13 +08:00
Silvan Mosberger 3a26957d8e doc/README: More anchors to link to
Converts that long list into headers such that they can be linked to.
2024-10-10 23:36:35 +02:00
K900 0717a4da77 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-09 21:08:25 +03:00
Artturin f678d0b777
treewide: replace stdenv.is in non nix files (#344342) 2024-10-09 18:17:34 +03:00
Robert Hensing 1d76033154 Rename nixos/modules/profiles/{macos-builder.nix -> nix-builder-vm.nix} 2024-10-08 10:27:11 +02:00
github-actions[bot] 5fa43e7396
Merge master into staging-next 2024-10-07 06:05:15 +00:00
Kirill Radzikhovskyy d04c244c09 python3Packages.mkPythonEditablePackage: correct documentation 2024-10-07 13:39:29 +11:00
github-actions[bot] 7ab01e096c
Merge master into staging-next 2024-10-06 18:03:58 +00:00
Peder Bergebakken Sundt 8cf439638d
doc/hooks/desktop-file-utils: document hook (#341280) 2024-10-06 16:04:49 +02:00
github-actions[bot] 653bcc0ea9
Merge master into staging-next 2024-10-05 18:04:03 +00:00
github-actions[bot] 2eb05ff3a1
Merge master into haskell-updates 2024-10-02 00:16:14 +00:00
github-actions[bot] 5810844b9c
Merge master into staging-next 2024-10-02 00:14:22 +00:00
Robert Schütz 46bb7c84ac nodePackages.bower2nix: drop 2024-10-01 16:23:59 -07:00
K900 3f7da3dfa9 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-01 08:44:24 +03:00
github-actions[bot] 3c833cfcd1
Merge master into haskell-updates 2024-10-01 00:18:21 +00:00
seth ec696bd85d
doc: init tauri hook section 2024-09-30 20:13:14 -04:00
github-actions[bot] 7b0a6891dd
Merge master into haskell-updates 2024-09-30 00:16:54 +00:00
github-actions[bot] 8e5ca58e0a
Merge master into staging-next 2024-09-29 12:05:05 +00:00
lelgenio ab4dc6ca78 doc/javascript: fix example usage of yarn hooks 2024-09-28 20:07:11 -03:00
Peder Bergebakken Sundt 6fd3990534 trivial: make symlinkJoin support pname+version alone 2024-09-28 01:35:47 +02:00
Artturin 8f3e655750 doc/python: correct platform conditional 2024-09-27 19:07:45 +03:00
Artturin 40799fc06d treewide: replace stdenv.is in non nix files
Continuing e0464e4788
2024-09-27 19:07:45 +03:00
sternenseemann b341506a8d Merge branch master into haskell-updates
Conflicts from #341407 resolved.
2024-09-27 11:41:25 +02:00
K900 a9128ce2f2 Merge remote-tracking branch 'origin/master' into staging-next 2024-09-25 21:07:19 +03:00
Tom Bereknyei d0b3364822 dockerTools: set mtime to epoch by default 2024-09-25 00:31:16 -04:00
WxNzEMof 847b4732e4 dockerTools: Allow separately specifying metadata and filesystem timestamps
Setting the image creation timestamp in the image metadata to a
constant date can cause problems with self-hosted container
registries, that need to e.g. prune old images.  This timestamp is
also useful for debugging.

However, it is almost never useful to set the filesystem timestamp to
a constant value.  Doing so not only causes the image to possibly no
longer be reproducible, but also removes any possibility of
deduplicating layers with other images, causing unnecessary storage
space usage.

Therefore, this commit introduces "mtime", a new parameter to
streamLayeredImage, which allows specifying the filesystem timestamps
separately from "created".  For backwards compatibility, "mtime"
defaults to the value of "created".
2024-09-25 00:23:20 -04:00
github-actions[bot] 9108a87017
Merge master into staging-next 2024-09-24 18:04:41 +00:00
Philip Taron 51296fce6f
writeTextFile,doc/build-helpers: assert destination without a leading slash (#343595) 2024-09-24 07:39:11 -07:00
Rafael Fernández López 7115576407 docs: update the CUDA section with how to use the nvidia-container-toolkit
This part of the manual explains how to use the
`nvidia-container-toolkit` in order to expose GPU's both for Docker
and Podman, as well as for a `docker-compose` environment.
2024-09-24 13:03:13 +02:00
github-actions[bot] b6b063bdc2
Merge master into haskell-updates 2024-09-24 00:16:10 +00:00
github-actions[bot] ac34133fb9
Merge master into staging-next 2024-09-23 12:05:36 +00:00
Rodney Lorrimar e2d259ebc0 pkgs.haskell.lib: Add disableParallelBuilding function 2024-09-23 11:36:24 +02:00
Vincent Laporte 94d0d22817
ocamlPackages.elpi: use release tarball (#343266)
coqPackages.metaFetch: Adding a github artifact option

Co-authored-by: Cyril Cohen <cohen@crans.org>
2024-09-23 09:52:07 +02:00
networkException f0b6425d73
doc/build-helpers: fix wrong invokations of writeTextFile with destination
This patch fixes occurances of writeTextFile invokations with
a destination set but without a leading slash. This would cause
an opaque build time error.
2024-09-21 23:59:42 +02:00
K900 d8a54461fc Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-20 07:27:56 +03:00
Johannes Kirschbauer 93228d26c6
Docs: highlight structure vision (#342978)
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-09-19 21:40:29 +02:00
K900 87cbfcba1c Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-17 21:07:02 +03:00
David McFarland 1b7f8c9165
dotnet: infrastructure improvements (#336824) 2024-09-17 11:42:45 -03:00
github-actions[bot] 73cf025711
Merge staging-next into staging 2024-09-17 12:05:50 +00:00
nicoo 274206a1f1 doc/maven: fakeSha256fakeHash 2024-09-17 10:47:31 +02:00
nicoo 633f94fa4a doc/coq: sha256hash 2024-09-17 10:47:31 +02:00
nicoo 19cf0942e3 doc: update all fetchurl invocations with a hash in SRI format 2024-09-17 10:47:31 +02:00
h7x4 a3626a459d
doc/hooks/just: add documentation (#341871) 2024-09-17 08:14:22 +02:00
David McFarland d8bd63a129 doc/languages-frameworks/dotnet: improve documenation of fetch-deps 2024-09-17 01:14:28 -03:00
github-actions[bot] 1c4acc409e
Merge staging-next into staging 2024-09-16 06:05:33 +00:00
Aleksana 28df6f7772
doc/stdenv/stdenv: document runHook function (#341972) 2024-09-16 09:54:06 +08:00
github-actions[bot] 7aea2e99a8
Merge staging-next into staging 2024-09-16 00:14:57 +00:00
Peder Bergebakken Sundt 0bf16eb3ad
doc/hooks/haredo: add documentation (#341886) 2024-09-16 01:44:20 +02:00
github-actions[bot] 952947bdf8
Merge staging-next into staging 2024-09-15 18:04:54 +00:00
Tomodachi94 015b6667ef doc/hooks/premake: add documentation
Added by https://github.com/NixOS/nixpkgs/pull/51205

Part of #341479
2024-09-15 16:20:20 +02:00