about summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* Merge pull request #263345 from hacker1024/feature/pub2nixMaciej Krüger2024-01-05
|\ | | | | dart: Use Nix instead of Pub
| * buildDartApplication: remove customSourceBuilders from baseDerivationFlafyDev2023-12-26
| |
| * pub2nix: Add disclaimer why not to use fetchTarballFlafyDev2023-12-26
| |
| * buildDartApplication: fix note about fixed-output derivationFlafyDev2023-12-26
| |
| * buildDartApplication: remove unused pubGetScript and generatePubspecLockFlafyDev2023-12-26
| |
| * buildDartApplication: Pass `customSourceBuilders` through to pub2nixhacker10242023-12-26
| |
| * buildDartApplication: Remove depsListFilehacker10242023-12-26
| | | | | | | | 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.
| * buildDartApplication: Use package source builders and setup hooks instead of ↵hacker10242023-12-26
| | | | | | | | package overrides
| * buildDartApplication: Generate LD_LIBRARY_PATH at build timehacker10242023-12-26
| | | | | | | | This allows setup hooks to add runtime dependencies.
| * buildDartApplication: Move package sources to nativeBuildInputshacker10242023-12-26
| | | | | | | | They are only needed at build time, after all.
| * flutter.buildFlutterApplication: Add pkg-config to nativeBuildInputshacker10242023-12-26
| |
| * flutter.buildFlutterApplication: Don't assume jq and yq are available in ↵hacker10242023-12-26
| | | | | | | | extraPackageConfigSetup
| * flutter.buildFlutterApplication: Remove unneeded nativeBuildInputshacker10242023-12-26
| |
| * buildDartApplication: Declare dependency sources as build inputshacker10242023-12-26
| |
| * pub2nix.readPubspecLock: Add package versions to passthruhacker10242023-12-26
| |
| * buildDartApplication: Use overrides for dev dependencies as wellhacker10242023-12-26
| |
| * dartHooks.dartConfigHook: Simplify packageRun functionhacker10242023-12-26
| |
| * dartHooks.dartConfigHook: Add packageRun utilityhacker10242023-12-26
| |
| * pub2nix.readPubspecLock: Add `packagePath` convenience attributehacker10242023-12-26
| |
| * flutter.buildFlutterApplication: Use extraPackageConfigSetuphacker10242023-12-26
| |
| * buildDartApplication: Accept additional package_config.json setup commandshacker10242023-12-26
| |
| * buildDartApplication: Link the package_config.json in a separate derivationhacker10242023-12-26
| |
| * buildDartApplication: Refactor autoDepsList logichacker10242023-12-26
| |
| * pub2nix.readPubspecLock: Include entire source in package derivationshacker10242023-12-26
| | | | | | | | This allows references to paths above the package being built, e.g. https://github.com/ExpidusOS/libtokyo/blob/bc5d988f32b67a9f91ff34248f69c45cfb4efcca/packages/libtokyo_flutter/pubspec.yaml#L42
| * dart: Use Nix instead of Pubhacker10242023-12-26
| |
* | Merge pull request #272520 from nrabulinski/fix-fetchpijulPeder Bergebakken Sundt2024-01-05
|\ \ | | | | | | build-support/fetchpijul: Add cacert dependency, set impureEnvVars, and enable strictDeps
| * | build-support/fetchpijul: Enable strictDepsNikodem Rabuliński2023-12-06
| | |
| * | build-support/fetchpijul: Add cacert dependency and set impureEnvVarsNikodem Rabuliński2023-12-06
| | |
* | | Merge pull request #277335 from adisbladis/buildenv-hoist-instantiationadisbladis2024-01-04
|\ \ \ | | | | | | | | build-support/buildenv: Hoist builder instantiation
| * | | build-support/buildenv: Hoist builder instantiationadisbladis2023-12-29
| | | |
* | | | Merge pull request #278128 from r-ryantm/auto-update/makeInitrdNGToolWill Fancher2024-01-01
|\ \ \ \ | | | | | | | | | | makeInitrdNGTool: 0.1.0 -> 0.1.0
| * | | | makeInitrdNGTool: 0.1.0 -> 0.1.0R. Ryantm2024-01-01
| | | | |
* | | | | Merge pull request #276072 from ↵K9002024-01-01
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | lilyinstarlight/fix/cargo-workspace-root-fixup-pls rustPlatform.importCargoLock: fix workspace_root detection
| * | | | rustPlatform.importCargoLock: fix workspace_root detectionLily Foster2023-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change, the `importCargoLock` git dependency builder assumed that the workspace root that needed to be passed to `replace-workspace-values` will always be the root directory of the git repository. This is not always the case as independent workspace roots may be used from subdirectories, and packages be referenced via paths. An example of this is [1], where the `iced` subdirectory is its own independent workspace, and workspace values for packages within it should be pulled from the `iced` subdirectory as the workspace root, not from the top-level of the fetched repository. [1]: https://github.com/pop-os/libcosmic/blob/b8f1a366dd030b90ed72e50f521e3da1d6a676ce/Cargo.toml
* | | | | build-support/go: fix eval of `vendorSha256` accessesSergei Trofimovich2023-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before the change there was no way to poll for presence of `vendorSha256` attribute: $ nix-instantiate --strict --eval --expr 'with import ./. {}; _3mux.vendorSha256 or "no hash"' error: attribute 'vendorSha256' missing 292| passthru = passthru // { inherit go goModules vendorHash; } // { inherit (args') vendorSha256; }; | ^ After the change the poll happens as expected: $ nix-instantiate --strict --eval --expr 'with import ./. {}; _3mux.vendorSha256 or "no hash"' "no hash"
* | | | | Merge pull request #277327 from adisbladis/emacs-build-supportadisbladis2023-12-30
|\ \ \ \ \ | | | | | | | | | | | | build-support/emacs: refactor
| * | | | | build-support/emacs: refactoradisbladis2023-12-29
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove superflous `let` with `defaultMeta` These can just be assigned to meta directly instead. - Hoist internal intermediate derivation - Remove top-level `with lib` - Inherit `lib`/`builtins` into scopes
* / | | | Revert "melpa2nix: update to work with Emacs HEAD"Vladimír Čunát2023-12-29
|/ / / /
* | | / melpa2nix: update to work with Emacs HEADSteve Purcell2023-12-26
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | We now use a newer version of package-build, since previously-necessary functions have been moved/removed from package.el Emacs 30. See https://github.com/melpa/package-build/pull/87 Consequently, some changes are necessary to the corresponding patch and to melpa2nix.el, which this commit also contains.
* | | Merge pull request #276414 from linsui/dartMaciej Krüger2023-12-25
|\ \ \ | | | | | | | | dart: fix fetchDartDeps
| * | | dart: fix fetchDartDepslinsui2023-12-25
| | | |
* | | | npmHooks.npmInstallHook: ignore rather than error for missing bin/man keys ↵Lily Foster2023-12-24
| | | | | | | | | | | | | | | | in package.json
* | | | Merge pull request #272125 from yaxitech/reproducible-initrdAtemu2023-12-24
|\ \ \ \ | | | | | | | | | | make-initrd-ng: fix reproducibility problems
| * | | | make-initrd-ng: fix reproducibility problemsAndreas Stührk2023-12-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous find invocation didn't match the root directory, so the root directory's access and modification time wasn't set to a deterministic value and the build time leaked into the output. `make-initrd` replaced `cpio` with `bsdtar` in #165892 because the former includes the number of hardlinks in the created archive, which depends on the filesystem (and can also be influenced by `nix-store --optimise`). The same problem applies to `make-initrd-ng`, so this commit replaces `cpio` with `libarchive`'s `bsdtar`.
* | | | | nuget-to-nix: handle packages with mismatched nuspec caseDavid McFarland2023-12-22
| |/ / / |/| | | | | | | | | | | e.g. cake.tool 3.0.0 which uses Cake.Tool.nuspec.
* | | | Merge pull request #275857 from tejing1/steam-fix-sddmK9002023-12-21
|\ \ \ \ | | | | | | | | | | buildFHSEnv, steam: fix privateTmp for sddm, make privateTmp overrideable
| * | | | buildFHSEnv: fix privateTmp for sddmJeff Huffman2023-12-21
| | |/ / | |/| |
* | | | fetchDartDeps: Use add milliseconds to date in package_config.jsonhacker10242023-12-21
| | | | | | | | | | | | | | | | | | | | 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
* | | | fetchDartDeps: Add a package_config.json derivationhacker10242023-12-21
| | | |
* | | | fetchDartDeps: Pass through the dependency cachehacker10242023-12-21
| | | |