FlafyDev
65b0c270c2
pub2nix: Add disclaimer why not to use fetchTarball
2023-12-26 21:54:30 +02:00
FlafyDev
b0a2d432da
buildDartApplication: fix note about fixed-output derivation
2023-12-26 21:50:50 +02:00
FlafyDev
e827619c11
buildDartApplication: remove unused pubGetScript and generatePubspecLock
2023-12-26 21:49:22 +02:00
hacker1024
81a99463d8
buildDartApplication: Pass customSourceBuilders
through to pub2nix
2023-12-26 18:48:12 +02:00
hacker1024
23952fb641
buildDartApplication: Remove depsListFile
...
We get a dependency list with pub2nix now. We can no longer easily distinguish between development dependency dependencies and regular dependency dependencies, but we weren't doing this anyway.
2023-12-26 18:48:12 +02:00
hacker1024
2bd3e5d779
buildDartApplication: Use package source builders and setup hooks instead of package overrides
2023-12-26 18:48:08 +02:00
hacker1024
cf55bc7300
buildDartApplication: Generate LD_LIBRARY_PATH at build time
...
This allows setup hooks to add runtime dependencies.
2023-12-26 17:08:51 +02:00
hacker1024
1ae96d0704
buildDartApplication: Move package sources to nativeBuildInputs
...
They are only needed at build time, after all.
2023-12-26 17:08:51 +02:00
hacker1024
8494ee610b
flutter.buildFlutterApplication: Add pkg-config to nativeBuildInputs
2023-12-26 17:08:51 +02:00
hacker1024
f057034d6a
flutter.buildFlutterApplication: Don't assume jq and yq are available in extraPackageConfigSetup
2023-12-26 17:08:51 +02:00
hacker1024
53a3485bfc
flutter.buildFlutterApplication: Remove unneeded nativeBuildInputs
2023-12-26 17:08:51 +02:00
hacker1024
48bf6da955
buildDartApplication: Declare dependency sources as build inputs
2023-12-26 17:08:51 +02:00
hacker1024
18d9cd0c50
pub2nix.readPubspecLock: Add package versions to passthru
2023-12-26 17:08:51 +02:00
hacker1024
4e4c4c2ad0
buildDartApplication: Use overrides for dev dependencies as well
2023-12-26 17:08:51 +02:00
hacker1024
65d2cc04a3
dartHooks.dartConfigHook: Simplify packageRun function
2023-12-26 17:08:51 +02:00
hacker1024
d41348a68a
dartHooks.dartConfigHook: Add packageRun utility
2023-12-26 17:08:51 +02:00
hacker1024
bea71b1fe3
pub2nix.readPubspecLock: Add packagePath
convenience attribute
2023-12-26 17:08:50 +02:00
hacker1024
af6e82b47a
flutter.buildFlutterApplication: Use extraPackageConfigSetup
2023-12-26 17:06:18 +02:00
hacker1024
7e043f5f28
buildDartApplication: Accept additional package_config.json setup commands
2023-12-26 17:06:18 +02:00
hacker1024
4eb35ef711
buildDartApplication: Link the package_config.json in a separate derivation
2023-12-26 17:06:18 +02:00
hacker1024
4f623fa0a1
buildDartApplication: Refactor autoDepsList logic
2023-12-26 17:06:18 +02:00
hacker1024
34ce9c64c9
pub2nix.readPubspecLock: Include entire source in package derivations
...
This allows references to paths above the package being built, e.g. bc5d988f32/packages/libtokyo_flutter/pubspec.yaml (L42)
2023-12-26 17:05:28 +02:00
hacker1024
3081228cc4
dart: Use Nix instead of Pub
2023-12-26 17:05:20 +02:00
Maciej Krüger
2e3a121acf
Merge pull request #276414 from linsui/dart
...
dart: fix fetchDartDeps
2023-12-25 10:21:21 +01:00
linsui
676ef2b4b2
dart: fix fetchDartDeps
2023-12-25 14:58:02 +08:00
Lily Foster
8999c9d930
npmHooks.npmInstallHook: ignore rather than error for missing bin/man keys in package.json
2023-12-24 22:58:32 +01:00
Atemu
d7b70652ef
Merge pull request #272125 from yaxitech/reproducible-initrd
...
make-initrd-ng: fix reproducibility problems
2023-12-24 11:53:33 +01:00
David McFarland
a185ed85be
nuget-to-nix: handle packages with mismatched nuspec case
...
e.g. cake.tool 3.0.0 which uses Cake.Tool.nuspec.
2023-12-22 12:06:02 +01:00
K900
d387afbd96
Merge pull request #275857 from tejing1/steam-fix-sddm
...
buildFHSEnv, steam: fix privateTmp for sddm, make privateTmp overrideable
2023-12-21 20:37:24 +03:00
Jeff Huffman
aa070a5d9a
buildFHSEnv: fix privateTmp for sddm
2023-12-21 12:11:35 -05:00
hacker1024
145c291ca6
fetchDartDeps: Use add milliseconds to date in package_config.json
...
This in compliance with the format specification.
https://github.com/dart-lang/language/blob/main/accepted/2.8/language-versioning/package-config-file-v2.md
2023-12-21 11:46:18 +01:00
hacker1024
0d82a3864a
fetchDartDeps: Add a package_config.json derivation
2023-12-21 11:46:13 +01:00
hacker1024
e99f59010c
fetchDartDeps: Pass through the dependency cache
2023-12-21 11:46:12 +01:00
hacker1024
623ac19416
fetchDartDeps: Generalise dependency derivation logic
2023-12-21 11:46:12 +01:00
hacker1024
75b809c7c6
buildDartApplication: Add entire Dart derivation to nativeBuildInputs
2023-12-21 11:46:11 +01:00
hacker1024
d331e2d68c
fetchDartDeps: Use given setup and Pub get script in dependency list derivation
2023-12-21 11:44:15 +01:00
hacker1024
98e4fb2d07
flutter: Pass pubGetScript through to buildDartApplication
2023-12-21 11:44:14 +01:00
Janne Heß
5eed5416ff
Merge pull request #167670 from messemar/incremental-builds
...
incremental builds: add derivation override functions
2023-12-19 11:37:15 +01:00
Will Fancher
42b9f21c69
Merge pull request #274743 from r-ryantm/auto-update/makeInitrdNGTool
...
makeInitrdNGTool: 0.1.0 -> 0.1.0
2023-12-19 00:46:24 -05:00
Peder Bergebakken Sundt
adc2612d49
Merge pull request #268304 from panicgh/fetchgitlab-sparse-forcegit
...
fetchgitlab: add sparseCheckout and forceFetchGit args
2023-12-17 03:34:52 +01:00
Pol Dellaiera
92960168a5
Merge pull request #274631 from artemist/replace-workspace-lints
...
rustPlatform.importCargoLock: copy lints from workspace
2023-12-16 19:45:00 +01:00
R. Ryantm
d2ffb24948
makeInitrdNGTool: 0.1.0 -> 0.1.0
2023-12-16 14:58:17 +00:00
K900
5eb4128d60
buildFHSEnv: propagate host /etc if nested
...
This fixes use cases like launching Lutris/Heroic from Steam.
2023-12-16 10:04:09 +03:00
Artemis Tosini
285216aceb
rustPlatform.importCargoLock: copy lints from workspace
...
Rust 1.74 added support for configuring lints with cargo in a new
"lints" table. This also adds a new possible position to reference the
host workspace.
Fixes #273835
2023-12-16 05:36:59 +00:00
Sandro Jäckel
bf81cded7d
makeNugetSource: symlink files instead of copying them
...
this reduces the closure size of the resulting derivation drastically
2023-12-15 01:23:21 +00:00
Sandro Jäckel
5ef866783f
makeNugetSource: fix meta.description being overwritten, misc cleanup
2023-12-15 01:23:21 +00:00
Jeff Huffman
195248b6c1
buildFHSEnv, steam: isolate steam's /tmp from host
...
Works around steam's misbehavior: https://github.com/ValveSoftware/steam-for-linux/issues/9121
2023-12-13 23:33:05 -08:00
Jeff Huffman
452b8162ec
buildFHSEnv: use symlinks instead of bind mounts for files from host /etc
...
Closes #247065
2023-12-13 23:33:05 -08:00
Thiago Kenji Okada
ed5b0bccf5
buildGraalvmNativeImage: set NATIVE_IMAGE_DEPRECATED_BUILDER_SANITATION
2023-12-13 16:12:04 +00:00
Martin Messer
a3e0a52de4
checkpointBuilds: add hooks for checkpoint builds
2023-12-12 13:21:01 +01:00