summaryrefslogtreecommitdiff
path: root/pkgs/stdenv (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge master into staging-nixosnixpkgs-ci[bot]2026-01-301-9/+0
|\
| * check-meta: remove support for meta.tests•••this nerver worked as meta can not contain derivations and this required the tests to be derivations lets just not allow this. Also tests now days are set in passthru.tests, so even if it would work, we are already using a diffrent convention. This was introduced in https://github.com/NixOS/nixpkgs/pull/44439 Allowing derivations in meta issue https://github.com/NixOS/nix/issues/2532 jopejoe12026-01-291-9/+0
* | Merge master into staging-nixosnixpkgs-ci[bot]2026-01-272-1/+141
|\|
| * nixos/misc/nixpkgs add setting nixpkgs.config.allowUnfreePackages = ["list" "...Yureka2026-01-272-1/+141
| |\
| | * nixos/misc/nixpkgs: add tests for nixpkgs.config.allowUnfreePackagesMartin Häcker2026-01-032-2/+139
| | * nixos/misc/nixpkgs: add setting nixpkgs.config.allowUnfreePackages = ["list" ...•••Inspired by https://github.com/NixOS/nixpkgs/issues/197325 this adds a new option nixpkgs.allowUnfreePackages, which merges additively and can thus be defined in multiple modules close to where the unfree package is installed. I would have liked ot name this option nixpkgs.config.allowUnfreePackages, to define it closer to where the allowUnfree and allowUnfreePredicate are defined, but I didn't see how this could be achived. I would welcome some guidance on how to do this. ‮rekcäH nitraM‮2026-01-031-1/+4
* | | treewide: fix typos (#479869)Michael Daniels2026-01-241-2/+2
|\ \ \ | |/ / |/| |
| * | treewide: fix typosBen Siraphob2026-01-131-2/+2
* | | Merge master into staging-nextnixpkgs-ci[bot]2026-01-221-5/+0
|\ \ \
| * | | stdenv.mkDerivation: remove unused variablesAlyssa Ross2026-01-211-5/+0
* | | | stdenv-bootstrap-tools: coreutils might miss bin/runcon•••This fixes the build, tested nix build -f pkgs/top-level/release.nix stdenvBootstrapTools.x86_64-unknown-linux-gnu.test https://hydra.nixos.org/build/319154291/nixlog/8/tail https://github.com/NixOS/nixpkgs/pull/460517#issuecomment-3779280430 Vladimír Čunát2026-01-212-2/+2
* | | | Merge master into staging-nextnixpkgs-ci[bot]2026-01-191-1/+4
|\| | |
| * | | stdenv: handle null replaceStdenv as identityloner2026-01-191-1/+4
* | | | Merge master into staging-nextnixpkgs-ci[bot]2026-01-171-1/+2
|\| | |
| * | | stdenv: add comment explaining replaceStdenv fallbackbyteforge382026-01-161-0/+1
| * | | stdenv: keep replaceStdenv fallback for non-module contextsbyteforge382026-01-151-1/+1
| * | | stdenv: simplify replaceStdenv null checkbyteforge382026-01-151-1/+1
| * | | config: add replaceStdenv, cudaCapabilities, cudaForwardCompat optionsbyteforge382026-01-111-1/+1
| |/ /
* | | stdenv: fix prefixKey for structuredAttrs (#470397)Philip Taron2026-01-051-1/+10
|\ \ \ | |/ / |/| |
| * | stdenv: fix prefixKey for structuredAttrsStefan Frijters2025-12-131-1/+10
* | | pkgs/stdenv/linux: update aarch64-unknown-linux-musl bootstrap-files•••sha256sum of files to be uploaded: $ sha256sum /nix/store/c3qpy1mlcrqklpak5lkgdy0l0kbsndl1-stdenv-bootstrap-tools/on-server/* 9f0fcf155c18646f683ee4127fbeb4552c0acc728a640debf97a83afc1cbcad8 /nix/store/c3qpy1mlcrqklpak5lkgdy0l0kbsndl1-stdenv-bootstrap-tools/on-server/bootstrap-tools.tar.xz 9924c4f1d2605d79716073d0a86a0ed8c1b31388724ffdf289f8198a476ca101 /nix/store/c3qpy1mlcrqklpak5lkgdy0l0kbsndl1-stdenv-bootstrap-tools/on-server/busybox Suggested commands to upload files to 'tarballs.nixos.org': $ nix-store --realize /nix/store/c3qpy1mlcrqklpak5lkgdy0l0kbsndl1-stdenv-bootstrap-tools $ aws s3 cp --recursive --acl public-read /nix/store/c3qpy1mlcrqklpak5lkgdy0l0kbsndl1-stdenv-bootstrap-tools/on-server/ s3://nixpkgs-tarballs/stdenv/aarch64-unknown-linux-musl/8c29968b3a942f2903f90797f9623737c215737c $ aws s3 cp --recursive s3://nixpkgs-tarballs/stdenv/aarch64-unknown-linux-musl/8c29968b3a942f2903f90797f9623737c215737c ./ $ sha256sum bootstrap-tools.tar.xz busybox $ sha256sum /nix/store/c3qpy1mlcrqklpak5lkgdy0l0kbsndl1-stdenv-bootstrap-tools/on-server/* Yureka2025-12-291-19/+15
* | | pkgs/stdenv/linux: update x86_64-unknown-linux-musl bootstrap-files•••sha256sum of files to be uploaded: $ sha256sum /nix/store/f881dxkvjal4vflnznfbz7g6pn4q0c56-stdenv-bootstrap-tools/on-server/* 5b0038ab424d11d9d20214f070f188af0b8e85adf74f46911bbb51fd8800ecbe /nix/store/f881dxkvjal4vflnznfbz7g6pn4q0c56-stdenv-bootstrap-tools/on-server/bootstrap-tools.tar.xz ec6a468f2f6716b851612ed36e6db877cbef4c555321344ff229f4cca68483b4 /nix/store/f881dxkvjal4vflnznfbz7g6pn4q0c56-stdenv-bootstrap-tools/on-server/busybox Suggested commands to upload files to 'tarballs.nixos.org': $ nix-store --realize /nix/store/f881dxkvjal4vflnznfbz7g6pn4q0c56-stdenv-bootstrap-tools $ aws s3 cp --recursive --acl public-read /nix/store/f881dxkvjal4vflnznfbz7g6pn4q0c56-stdenv-bootstrap-tools/on-server/ s3://nixpkgs-tarballs/stdenv/x86_64-unknown-linux-musl/8c29968b3a942f2903f90797f9623737c215737c $ aws s3 cp --recursive s3://nixpkgs-tarballs/stdenv/x86_64-unknown-linux-musl/8c29968b3a942f2903f90797f9623737c215737c ./ $ sha256sum bootstrap-tools.tar.xz busybox $ sha256sum /nix/store/f881dxkvjal4vflnznfbz7g6pn4q0c56-stdenv-bootstrap-tools/on-server/* Yureka2025-12-291-9/+9
* | | gcc{14,15}: Pick c++tools --enable-default-pie patch (#470346)Vladimír Čunát2025-12-161-15/+4
|\ \ \
| * | | Revert "stdenvBootstrapTools: fix build by fetching pie fix commit"•••Preparing to move this patch into regular gcc. This reverts commit 200b5eb08af1d01145061e9c45bafa6d6db85f40. dramforever2025-12-131-15/+4
* | | | Merge staging-next into stagingnixpkgs-ci[bot]2025-12-151-150/+127
|\ \ \ \ | | |_|/ | |/| |
| * | | check-meta.nix: Minor remediation refactoringSilvan Mosberger2025-12-151-6/+6
| * | | check-meta.nix: Optimise•••- Remove the internal conditioning on the result of `valid`, we can know exactly when which value is produced - Faster success path for checkMeta, also avoiding an environment - Inline handlers Reapplying 660cecdc16cea8d195eba9fb6c6b0b3cbe0aa717 after reversal in 0b90ed8913d1bcdad80d99e1568e2139794efb08 Silvan Mosberger2025-12-151-99/+62
| * | | check-meta.nix: More performance optimisations•••- Boolean operator short-circuit optimisation - Eta-reduction and make some allow/blocklist-dependend functions more cachable - Inline functions that are only used once - Make getEnv cached Reapplying f7486d2a6383acfa883f672febdaaa1380624de6 after reversal in 0b90ed8913d1bcdad80d99e1568e2139794efb08 Silvan Mosberger2025-12-151-31/+33
| * | | check-meta.nix: Minor performance optimisiations•••- Avoid some attribute set accesses - Make a variable more local, avoiding a thunk - Avoid always checking config.checkMeta for every attribute Reapplying ab0c4c104ce12eca28168e1893a2e230e396a028 after reversal in 0b90ed8913d1bcdad80d99e1568e2139794efb08 Silvan Mosberger2025-12-151-30/+35
| * | | check-meta.nix: Refactor for better use of parenthesis•••Remove some clearly-unnecessary ones and add some direly-needed ones Reapplying 43f81c8e08c7c8c7a7848a5e8ea73972c1f0f67a after reversal in 0b90ed8913d1bcdad80d99e1568e2139794efb08 Silvan Mosberger2025-12-151-7/+7
| * | | check-meta.nix: Optimise by avoiding double attribute•••Probably that's a historical artifact Reapplying 360f401244eb170a85791e3e77a98c6b4b912fad after reversal in 0b90ed8913d1bcdad80d99e1568e2139794efb08 Silvan Mosberger2025-12-151-4/+12
| * | | check-meta.nix: Refactor to inlinie remediations•••- Makes the code more clean and obvious - Allows remediations to depend on values computed during the check (useful for https://github.com/NixOS/nixpkgs/pull/338267) Reapplying 42cfcdf4e731f5cdcbb7ad4e3fc01d0f62121acb after reversal in 0b90ed8913d1bcdad80d99e1568e2139794efb08 Compared to the original commit, this includes the fix for the problem that required the revert. Silvan Mosberger2025-12-151-17/+16
* | | | Merge remote-tracking branch 'origin/staging-next' into stagingK9002025-12-141-125/+148
|\| | |
| * | | Revert "Minor `check-meta.nix` optimisations and cleanups"K9002025-12-141-125/+148
* | | | Merge remote-tracking branch 'origin/staging-next' into stagingK9002025-12-141-148/+125
|\| | |
| * | | Minor `check-meta.nix` optimisations and cleanups (#466947)adisbladis2025-12-141-148/+125
| |\ \ \
| | * | | check-meta.nix: Optimise•••- Remove the internal conditioning on the result of `valid`, we can know exactly when which value is produced - Faster success path for checkMeta, also avoiding an environment - Inline handlers Silvan Mosberger2025-12-021-99/+62
| | * | | check-meta.nix: More performance optimisations•••- Boolean operator short-circuit optimisation - Eta-reduction and make some allow/blocklist-dependend functions more cachable - Inline functions that are only used once - Make getEnv cached Silvan Mosberger2025-12-021-31/+33
| | * | | check-meta.nix: Minor performance optimisiations•••- Avoid some attribute set accesses - Make a variable more local, avoiding a thunk - Avoid always checking config.checkMeta for every attribute Silvan Mosberger2025-12-021-30/+35
| | * | | check-meta.nix: Refactor for better use of parenthesis•••Remove some clearly-unnecessary ones and add some direly-needed ones Silvan Mosberger2025-12-021-7/+7
| | * | | check-meta.nix: Optimise by avoiding double attribute•••Probably that's a historical artifact Silvan Mosberger2025-12-021-4/+12
| | * | | check-meta.nix: Refactor to inlinie remediations•••- Makes the code more clean and obvious - Allows remediations to depend on values computed during the check (useful for https://github.com/NixOS/nixpkgs/pull/338267) Silvan Mosberger2025-12-021-17/+16
* | | | | Merge staging-next into stagingnixpkgs-ci[bot]2025-12-131-22/+14
|\| | | | | |_|/ / |/| | |
| * | | stdenv: fix inputDerivation in case of __structuredAttrs•••Setting allowedReferences to null seems to only work as a fluke. It doesn't work with outputChecks, and I couldn't get it to work at all when declaring my own derivation manually (I'm honestly still unsure why it works at all as-is in inputDerivation) In any case, Rather than setting allowedReferences etc to values that mimic the default behaviour, we can remove those attributes to get the default behaviour. Taeer Bar-Yam2025-12-121-21/+13
| * | | stdenv: make inputDerivation name distinct from original•••Co-authored-by: infinisil <github@infinisil.com> Taeer Bar-Yam2025-12-111-1/+1
| | |/ | |/|
* | | Merge remote-tracking branch 'origin/staging-next' into stagingK9002025-12-091-3/+8
|\| |
| * | mold: switch to wrapped by defaultDawid Ciężarkiewicz2025-12-081-3/+8
* | | Merge remote-tracking branch 'origin/staging-next' into stagingK9002025-12-071-0/+4
|\| |
| * | treewide: fix nix-env eval in crossDavid McFarland2025-12-041-0/+4
| |/
* | stdenv: extract $phases definition and add printPhases function (#441897)Ryan Lahfa2025-12-061-6/+20
|\ \ | |/ |/|