Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-04-22 | stdenv: make inputDerivation never fixed-output | Jade Lovelace | 1 | -0/+22 | |
This fixes using inputDerivation on derivations that are fixed-output. Previously: ``` nix-repl> drv = runCommand "huh" { outputHash = "sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="; outputHashAlgo = "sha256"; outputHashType = "flat"; } "touch $out" nix-repl> drv.inputDerivation «derivation /nix/store/d8mjs6cmmvsr1fv7psm6imis5pmh9bcs-huh.drv» nix-repl> :b drv.inputDerivation error: fixed output derivation 'huh' is not allowed to refer to other store paths. You may need to use the 'unsafeDiscardReferences' derivation attribute, see the manual for more details. ``` Fixes: https://github.com/NixOS/nixpkgs/issues/304209 (cherry picked from commit 78945a827cc5f2e5b97b7ca9807f7ac111086a1e) | |||||
2024-01-14 | Merge staging-next-23.11 into staging-23.11 | github-actions[bot] | 5 | -0/+219 | |
2024-01-10 | tests.checkpoint-build: Fix evaluation with allowAliases false | Silvan Mosberger | 1 | -4/+4 | |
Was broken since introduced, but not caught due to https://github.com/NixOS/nixpkgs/pull/271123#discussion_r1442134594 (cherry picked from commit 69460711750d4bb4718516fdb155145e922ff610) | |||||
2024-01-10 | checkpointBuildTools: mkCheckpointedBuild -> mkCheckpointBuild | Bryan Lai | 2 | -3/+3 | |
All other functions are in the form of `*{c,C}heckpointBuild*`, so we deprecate the `mkCheckpointedBuild` function in favor of `mkCheckpointBuild`. Also address some inconsistencies in the docs: some `buildOutput` should actually be `incrementalBuildArtifacts`. (cherry picked from commit df62c3c87f35cd50d6ee20ea92900bb03ad827c9) | |||||
2024-01-10 | Merge pull request #167670 from messemar/incremental-builds | Janne Heß | 5 | -0/+219 | |
incremental builds: add derivation override functions (cherry picked from commit 5eed5416ffa70d1a6c1ff00548c746014df7e2c6) | |||||
2023-12-22 | Test __structuredAttrs support in autoPatchelf | Yann Hamdaoui | 3 | -0/+104 | |
This commit adds a test for the newly added support for __structuredAttrs in autoPatchelf(hook). It copied a reasonably small-closure binary derivation that makes use of autoPatchelf, stripped it down for the purpose of the test, and check that autoPatchelf correctly set the interpreter and runpath whether __structuredAttrs is set to true or not. (cherry picked from commit 00d0418804e96e381d40a07bf784e408c4d206f4) | |||||
2023-11-21 | makeHardcodeGsettingsPatch: Support applying patches | Jan Tojnar | 4 | -2/+66 | |
This is useful for replacing code that cannot be easily handled by the generator, such as the tentative settings constructor in e-d-s. | |||||
2023-11-21 | Merge pull request #267048 from narang99/hariom/257748/check-by-name-msg | Silvan Mosberger | 2 | -5/+13 | |
fix long error messages in nix-instantiate | |||||
2023-11-21 | made EXPR_PATH point to local instead of store | Hariom Narang | 2 | -4/+5 | |
- we need this behavior in dev shell - the main build still uses the store file | |||||
2023-11-19 | Merge pull request #268224 from tweag/by-name-reload | Silvan Mosberger | 1 | -0/+6 | |
tests.nixpkgs-check-by-name: More reliable .envrc reloading | |||||
2023-11-19 | Merge pull request #268018 from amjoseph-nixpkgs/pr/testcase/267859 | Artturi | 1 | -0/+3 | |
2023-11-18 | tests.nixpkgs-check-by-name: More reliable .envrc reloading | Silvan Mosberger | 1 | -0/+6 | |
See also https://github.com/nix-community/nix-direnv/issues/408 and https://github.com/nix-community/nix-direnv/pull/407 | |||||
2023-11-17 | llvmPackages_5: drop | Raito Bezarius | 1 | -1/+0 | |
While using very old compilers is a fair usecase, it induces a maintenance churn as we collect more and more LLVM versions for the LLVM maintainers. Especially when we need to backport uniform changes to the whole tree, furthermore, it consumes and waste CI resources. | |||||
2023-11-16 | tests.cross.sanity: add test case for #267859 | Adam Joseph | 1 | -0/+3 | |
This commit adds pkgs.spike, which internally uses pkgsCross.riscv64-embedded.stdenv.cc, as a test case for the issue reported in https://github.com/NixOS/nixpkgs/issues/267859 | |||||
2023-11-16 | Merge branch 'master' into staging-next | Vladimír Čunát | 3 | -18/+37 | |
2023-11-16 | tests.cc-wrapper.supported: make it actually build the tests | Artturin | 1 | -17/+19 | |
it was building the stdenv only | |||||
2023-11-16 | tests.cc-wrapper: add atomics test | Artturin | 2 | -1/+18 | |
`-std=c++17` is for clang 5 | |||||
2023-11-14 | pass eval.nix as a file instead of expression | Hariom Narang | 2 | -5/+12 | |
- passing it as expression gives large error messages which are not very readable - this commits puts the file in nix-store and patches the final program to have access to the path to the file as env. - We simply pass this file to nix-instantiate | |||||
2023-11-09 | Merge master into staging-next | github-actions[bot] | 2 | -25/+36 | |
2023-11-09 | cudaPackages.cuda-samples: alphabetize arguments | Connor Baker | 1 | -6/+6 | |
2023-11-07 | cudaPackages.cuda-samples: fix CMake build error on 12.2+ | Connor Baker | 1 | -1/+15 | |
2023-11-07 | cudaPackages.cuda-samples: don't list package for unsupported CUDA version | Connor Baker | 1 | -4/+4 | |
2023-11-07 | cudaPackages_12_2.cuda-samples: init at 12.2 | Connor Baker | 1 | -0/+1 | |
2023-11-07 | cudaPackages_12_1.cuda-samples: init at 12.1 | Connor Baker | 1 | -0/+1 | |
2023-11-07 | cudaPackages.cuda-samples: use packages from cudaPackages scope; not top-level | Connor Baker | 1 | -4/+5 | |
2023-11-07 | cudaPackages.cuda-samples: switch to autoAddOpenGLRunpathHook from manual ↵ | Connor Baker | 1 | -8/+2 | |
addOpenGLRunpath | |||||
2023-11-07 | cudaPackages.cuda-samples: add CUDA team as maintainers | Connor Baker | 1 | -1/+1 | |
2023-11-07 | cudaPackages.cuda-samples: use finalAttrs instead of rec | Connor Baker | 1 | -5/+5 | |
2023-11-07 | Merge master into staging-next | github-actions[bot] | 1 | -22/+19 | |
2023-11-06 | Merge pull request #265514 from xworld21/treewide-texlive-with-packages | Dmitry Kalinkin | 1 | -22/+19 | |
treewide: switch to texlive.withPackages | |||||
2023-11-05 | tests.texlive.fixedHashes: ignore .tex attribute sets that are not derivations | Vincenzo Mantova | 1 | -1/+1 | |
2023-11-05 | tests.texlive: use texlive.pkgs.PKGNAME attribute set instead of ↵ | Vincenzo Mantova | 1 | -3/+3 | |
texlive.PKGNAME.pkgs list | |||||
2023-11-05 | tests.texlive: replace texlive.combine with texlive.withPackages | Vincenzo Mantova | 1 | -18/+15 | |
2023-11-05 | Merge master into staging-next | github-actions[bot] | 1 | -0/+4 | |
2023-11-05 | test.cross.sanity: add qt5.qutebrowser, firefox | Adam Joseph | 1 | -0/+4 | |
2023-11-04 | texlive: export schemes at top level | Vincenzo Mantova | 1 | -1/+1 | |
2023-11-04 | Merge master into staging-next | github-actions[bot] | 2 | -4/+7 | |
2023-11-04 | lib.systems, test.cross.sanity: add test case for #264989 | Adam Joseph | 1 | -0/+1 | |
We have several cross-compilation bugs that show up if hostPlatform!=buildPlatform yet hostPlatform.config==buildPlatform.config. These bugs have appeared and disappeared as we've fiddled with the definition of equality for platform objects. This commit adds a clear-cut case where they are *not* equal and never will be, so we can test it. | |||||
2023-11-04 | tests: fix eval failures | Artturin | 2 | -4/+6 | |
2023-11-03 | Merge master into staging-next | github-actions[bot] | 1 | -0/+6 | |
2023-11-03 | tests.cross.sanity: add pkgs.pkgsMusl.pkgsCross.gnu64.hello (#262876) | Adam Joseph | 1 | -0/+6 | |
2023-11-01 | Merge master into staging-next | github-actions[bot] | 1 | -9/+10 | |
2023-11-01 | Merge pull request #250805 from xworld21/texlive-buildenv-minimal | Dmitry Kalinkin | 1 | -9/+10 | |
texlive: overrideTeXConfig/withPackages | |||||
2023-10-30 | Merge master into staging-next | github-actions[bot] | 10 | -350/+687 | |
2023-10-30 | Merge pull request #261939 from tweag/check-by-name-intermediate | Silvan Mosberger | 10 | -350/+687 | |
`nixpkgs-check-by-name`: Intermediate error representation refactor | |||||
2023-10-28 | Merge master into staging-next | github-actions[bot] | 1 | -1/+1 | |
2023-10-28 | fetchFromBittorrent: Rename to fetchtorrent | Eirik Wittersø | 1 | -1/+1 | |
2023-10-26 | Merge master into staging-next | github-actions[bot] | 1 | -0/+9 | |
2023-10-26 | Merge branch 'staging' into staging-next | Vladimír Čunát | 1 | -1/+1 | |
2023-10-25 | tests/stdenv: Check derivations with an MD5 `outputHash` fail to evaluate | nicoo | 1 | -0/+9 | |