Commit graph

3462 commits

Author SHA1 Message Date
github-actions[bot] 7b0a6891dd
Merge master into haskell-updates 2024-09-30 00:16:54 +00:00
lelgenio ab4dc6ca78 doc/javascript: fix example usage of yarn hooks 2024-09-28 20:07:11 -03:00
sternenseemann b341506a8d Merge branch master into haskell-updates
Conflicts from #341407 resolved.
2024-09-27 11:41:25 +02: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
Philip Taron 51296fce6f
writeTextFile,doc/build-helpers: assert destination without a leading slash (#343595) 2024-09-24 07:39:11 -07:00
github-actions[bot] b6b063bdc2
Merge master into haskell-updates 2024-09-24 00:16:10 +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
Johannes Kirschbauer 93228d26c6
Docs: highlight structure vision (#342978)
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-09-19 21:40:29 +02:00
David McFarland 1b7f8c9165
dotnet: infrastructure improvements (#336824) 2024-09-17 11:42:45 -03: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
Aleksana 28df6f7772
doc/stdenv/stdenv: document runHook function (#341972) 2024-09-16 09:54:06 +08:00
Peder Bergebakken Sundt 0bf16eb3ad
doc/hooks/haredo: add documentation (#341886) 2024-09-16 01:44:20 +02: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
Tomodachi94 066125b663
doc/stdenv/stdenv: document runHook function
Not quite satisfied with this, but it's better than nothing.
2024-09-14 21:28:09 -07:00
Tomodachi94 6157b42ca7
doc/hooks/haredo: add documentation
Hook introduced in #269767 by @pbsds.

Part of #341479.
2024-09-14 10:33:41 -07:00
Tomodachi94 41b5974cb2
doc/hooks/just: add documentation
Introduced in #247147

Part of #341479
2024-09-14 09:09:34 -07:00
Tomodachi94 1e71925b95
doc/packages/lhapdf: add documentation
This documents:
* The existence of the `lhapdf` package (not particularly important)
* The existence of the `lhapdf.pdf_sets` attrset (important)
* The setup hook used in all of the entries in `lhapdf.pdf_sets`
  (slightly important)

Part of #341479.
2024-09-13 23:18:10 -07:00
Dmitry Kalinkin be3482bb78
doc/packagaes/geant4: add documentation (#341733) 2024-09-14 01:27:59 -04:00
Tomo 94eeb71d25
doc/hooks/cernlib: document CERNLIB hook (#341691) 2024-09-14 01:26:40 -04:00
Tomodachi94 cfe30e5950
doc/packages/geant4: add documentation
This documents:
* The `geant4.data` attrset introduced in #39514
* The setup hook for geant4
* The setup hook for the geant4.data packages

I also added a brief description of what Geant4 is.

Part of #341479
2024-09-13 21:01:35 -07:00
Philip Taron d2225b2f6e
nixpkgs-manual.lib-docs: fix sandboxed build on darwin (#341432) 2024-09-12 14:59:27 -07:00
Nathan Henrie 1218148c55 nixpkgs-manual.lib-docs: fix sandboxed build on darwin
The darwin sandbox prevents this nix call from accessing `/nix/
store/.links` resulting in a build failure:

```
> error: getting status of '/nix/store/.links': Operation not permitted
```

Thanks to @emilazy for the workaround!

Fixes https://github.com/NixOS/nixpkgs/issues/339808
2024-09-12 12:44:17 -06:00
adisbladis 3fd64819c1
python3Packages.mkPythonEditablePackage: init (#339228) 2024-09-12 09:35:13 +12:00
github-actions[bot] 92d531057e
Merge master into staging-next 2024-09-09 06:05:06 +00:00
Daniel Nagy 8fdcf6d1c1
doc: add gradle language section 2024-09-08 18:30:00 +02:00
adisbladis de1fdc9fe0 python3Packages.mkPythonEditablePackage: init 2024-09-08 17:13:21 +12:00
github-actions[bot] de15243c9a
Merge master into staging-next 2024-09-07 12:04:51 +00:00
David McFarland 13a975148a
dotnet: add override mechanism for nuget packages (#339953) 2024-09-07 09:00:01 -03:00
github-actions[bot] 319af78438
Merge master into staging-next 2024-09-07 06:04:15 +00:00
Philip Taron 29cca09041
rustPlatform.fetchCargoTarball: support pname+version (#332975) 2024-09-06 23:00:21 -07:00
Johannes Kirschbauer 71f01ce1fc
Doc/importNpmLock: general improvements (#340019)
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-09-07 07:59:02 +02:00
éclairevoyant 5c38beb516
doc/rust: prefer pname+version over name in fetchCargoTarball 2024-09-07 01:10:01 -04:00
David McFarland cc9c59c478 buildDotnetModule: use individual dependencies for nugetDeps 2024-09-06 16:05:19 -03:00
github-actions[bot] b00b35b402
Merge master into staging-next 2024-09-05 06:04:41 +00:00
Ilan Joselevich 8dce4a0063
doc/stdenv: fix typo in sourceRoot section (#339604) 2024-09-05 03:43:46 +03:00
github-actions[bot] 74cdd9c9b1
Merge master into staging-next 2024-09-05 00:13:11 +00:00
Philip Taron afb866e64a
yarnInstallHook: init (#328544) 2024-09-04 14:33:47 -07:00
seth 8bc8bbd1c9
doc/stdenv: fix typo in sourceRoot section 2024-09-04 14:43:23 -04:00
github-actions[bot] 563bb0fbc2
Merge master into staging-next 2024-09-04 18:04:23 +00:00
Robert Hensing ce974f8107
doc/dockertools: add note about base image config inheritance (#339555) 2024-09-04 17:49:09 +01:00
Mathias Sven 138d76c31b
doc/dockertools: add note about base image config inheritance 2024-09-04 15:41:32 +01:00
lelgenio 7783e118af yarnInstallHook: init 2024-09-04 11:15:47 -03:00
K900 23b4832da0 Merge remote-tracking branch 'origin/master' into staging-next 2024-09-04 08:53:48 +03:00