Jörg Thalheim
ff8576f191
dockerTools.pullImage: accept hash
parameter ( #342400 )
2024-12-09 15:32:15 +01:00
nicoo
5720f42c32
nix-prefetch-docker: provide hash
in SRI format
2024-12-09 14:28:25 +01:00
nicoo
d0e6b0e170
dockerTools.pullImage: accept hash
parameter
2024-12-09 14:28:24 +01:00
Philip Taron
5e0585161b
writeShellApplication: fix shellcheck availability check ( #362868 )
2024-12-08 13:57:49 -08:00
Philip Taron
89673d26f0
buildFHSEnvBubblewrap: set meta.mainProgram ( #358550 )
2024-12-07 14:09:46 -08:00
misuzu
83e3724538
writeShellApplication: fix shellcheck availability check
...
This fixes NixOS evaluation for native riscv64-linux
2024-12-07 23:04:58 +02:00
Ulysses Zhan
e6199124df
buildFHSEnvBubblewrap: set meta.mainProgram
2024-12-06 11:20:30 -08:00
Ulysses Zhan
40c579ca29
buildFHSEnvBubblewrap: format default.nix
2024-12-06 11:20:21 -08:00
David McFarland
0bbfbc0b43
dotnet: wrapper improvements ( #362425 )
2024-12-06 15:02:13 -04:00
Aleksana
9127655f5e
rustPlatform.fetchCargoTarball: dontConfigure (by default) ( #360540 )
2024-12-06 22:46:00 +08:00
js6pak
895b69405c
dotnet: make wrappers usable as DOTNET_ROOT
...
This simplifies the code a bit and makes it possible to use dotnetCorePackages.combinePackages as dotnet-runtime again.
Partial revert of ddd08e404f
.
2024-12-06 10:01:59 -04:00
David McFarland
9bb136edda
dotnet: nixfmt output of nuget-to-nix ( #361579 )
2024-12-05 16:14:44 -04:00
Philip Taron
7822cb34f8
fetchgit{,hub}: add tag argument ( #355973 )
2024-12-05 07:40:05 -08:00
Atemu
e9a31f5146
fetchgit{,hub}: assert illegal tag + rev combinations
...
It's quite a bit more complex due to this but this was asked for during review
2024-12-05 16:29:11 +01:00
David McFarland
597474a8f1
dotnet: nixfmt output of nuget-to-nix
2024-12-05 10:09:05 -04:00
Austin Horstman
8d02c5670f
dotnet: improve buildDotnetGlobalTool ( #361464 )
2024-12-04 23:16:16 -06:00
Philip Taron
1330ae4275
appimageTools: add libmpg123 to the environment ( #347824 )
2024-12-04 12:28:15 -08:00
David McFarland
04f1c8b4ea
buildDotnetGlobalTool: add default updateScript
2024-12-03 10:29:24 -04:00
David McFarland
07a92bc006
buildDotnetGlobalTools: add finalAttrs support
2024-12-03 10:08:52 -04:00
David McFarland
3463d22cd8
buildDotnetGlobalTool: format with nixfmt
2024-12-03 10:08:52 -04:00
Aleksana
d6d092f87d
{buildRustPackage,fetchCargoTarball,fetchCargoVendor}: respect cargoRoot ( #350541 )
2024-12-03 19:49:09 +08:00
Domen Kožar
9888edd1e7
buildGraalvm: fix build on x86_64-darwin ( #360254 )
2024-12-02 22:47:28 +00:00
TomaSajt
16f30cf210
{buildRustPackage,fetchCargoTarball,fetchCargoVendor}: respect cargoRoot
2024-12-02 22:10:23 +01:00
György Kurucz
66d5895913
buildFHSEnv: fix cross compilation
...
In particular, steam aarch64-linux -> x86_64-linux cross did not compile
before.
2024-12-02 20:52:27 +01:00
Jörg Thalheim
1af9e10973
nixos/dockerTools: fixup proot/fakeroot code - exclude also dev ( #308603 )
2024-12-02 09:46:17 +01:00
Philip Taron
7df32823cc
buildFHSEnv: symlink libexec into the FHS tree ( #328685 )
2024-12-01 16:33:50 -08:00
Nathan Regner
551230b7a9
buildGraalvmNativeImage: fix build on darwin-x86_64
2024-12-01 10:05:39 -07:00
Philip Taron
a1ed41a112
appimageTools: use version ( #359930 )
2024-12-01 08:12:40 -08:00
K900
10f06c512e
fetchurl: clean up KDE mirrors ( #360523 )
2024-12-01 14:28:54 +03:00
Sefa Eyeoglu
7779a86836
Fix Codeql findings in update scripts ( #342541 )
2024-12-01 12:17:24 +01:00
Felix Buehler
0e6cb950cf
appimageTools: deprecate name & version
2024-12-01 11:13:43 +01:00
Maximilian Bosch
eecda1aa70
Merge: runInLinuxVM: refactor structuredAttrs support, fix disko ( #360413 )
2024-12-01 00:35:02 +01:00
Doron Behar
0d2b54f022
rustPlatform.fetchCargoTarball: dontConfigure (by default)
2024-11-30 22:11:18 +02:00
K900
07af3c1768
fetchurl: clean up KDE mirrors
...
Use download.kde.org as recommended by upstream, keep funet as fallback.
2024-11-30 21:41:35 +03:00
Wolfgang Walther
d2593f01e1
runInLinuxVM: pass .attrs.sh explicitly instead of whole /build directory
...
The approach taken in [1] breaks down as soon as vmRunCommand is
manually called with an overriden TMPDIR, like disko does it. /build
will just not be available.
By moving the .attrs.sh file into the xchg folder explicitly, we can all
the "exchange infrastructure" the same as before, thus avoid more
breakage.
This reverts some parts of [1].
[1]: 97ed6b4565
2024-11-30 13:46:45 +01:00
Wolfgang Walther
58570e75d9
runInLinuxVM: refactor vmRunCommand
...
This makes it simpler to copy more files to xchg for the structuredAttrs
case in the next commit.
2024-11-30 13:40:27 +01:00
Wolfgang Walther
437e6dbbb0
runInLinuxVM: load stdenv/setup with fixed environment in stage2Init
...
In [1] we started sourcing stdenv/setup in stage2Init to allow for
structuredAttrs. We failed to take the changed NIX_BUILD_TOP etc.
variables into account. We need to load stdenv/setup after changing
them, because the structuredAttrs startup code makes use of it.
[1]: 97ed6b4565
2024-11-30 13:40:26 +01:00
Wolfgang Walther
9f6b99e1ef
runInLinuxVM: minimize saved-env
...
The export to saved-env was very intentionally done at the very
beginning of vmRunCommand, even jumping through extra hoops just to
avoid the PATH variable from polluting the saved variable.
In 26eba25577
we loaded stdenv in the
wrong place, we should do it after saving the previous environment. This
is also more consistent with the order of how we load those values back
in stage2Init.
2024-11-30 13:40:26 +01:00
Wolfgang Walther
3952f870fc
runInLinuxVM: clean up
...
Those were left-over after 97ed6b4565
.
This also cleans up some confusion around TMPDIR. We had the following
lines:
mkdir xchg
...
cd $TMPDIR
...
path=$TMPDIR/xchg
Those only worked because the **current directory** is the same as
$TMPDIR. Both are /build by default. To refer to the same directory in
two different ways is very confusing at best.
2024-11-30 13:39:58 +01:00
Wolfgang Walther
de7867c226
runInLinuxVM: add simple structuredAttrs test
2024-11-30 12:26:26 +01:00
Tim Schumacher
3cf4fac925
buildFHSEnv: symlink libexec into the FHS tree
2024-11-30 12:21:54 +01:00
Stefan Frijters
8a667a5213
buildFHSEnv: fix cross compilation
...
rootfs-builder is executed at build time and thus needs to be
built for the build machine architecture.
2024-11-30 11:02:48 +01:00
tomberek
4703b8d2c7
pkgs.dockertools.buildLayeredImage: customisable layering strategy ( #122608 )
2024-11-29 22:39:21 -05:00
Adrian Gierakowski
266283bec3
build-support/docker: use runCommand in make-layers.nix
2024-11-29 21:59:36 +00:00
Jörg Thalheim
a4308aba72
buildGoModule: no longer filter out vendorSha256 ( #359798 )
2024-11-28 12:17:46 +01:00
Philip Taron
fe1509dc6c
buildFHSEnv: void ldconfig warnings ( #359080 )
2024-11-27 15:15:36 -08:00
Will Fancher
357a340019
various: remove left-over rtc_cmos rootModule ( #359416 )
2024-11-27 15:49:12 -05:00
Jörg Thalheim
1b02ba59aa
treewide: hide more deprecated stuff if allowAliases is false ( #354709 )
2024-11-27 21:44:06 +01:00
jopejoe1
2e2c7f54fd
treewide: hide more deprecated stuff if allowAliases is false
2024-11-27 20:51:46 +01:00
Emily
3426d4110f
desktopToDarwinBundle: fix 16x, 32x app icons ( #358247 )
2024-11-27 19:37:17 +00:00