| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\| |
|
| | |\
| | |
| | |
| | | |
"of" "packages"] (#396595)
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
"of "packages"]
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.
|
| |\ \ \
| |/ /
|/| | |
|
| | | | |
|
| |\ \ \ |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |\| | | |
|
| | | | | |
|
| |\| | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |/ / |
|
| |\ \ \
| |/ /
|/| | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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/*
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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/*
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Preparing to move this patch into regular gcc.
This reverts commit 200b5eb08af1d01145061e9c45bafa6d6db85f40.
|
| |\ \ \ \
| | |_|/
| |/| | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Remove some clearly-unnecessary ones and add some direly-needed ones
Reapplying 43f81c8e08c7c8c7a7848a5e8ea73972c1f0f67a
after reversal in 0b90ed8913d1bcdad80d99e1568e2139794efb08
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Probably that's a historical artifact
Reapplying 360f401244eb170a85791e3e77a98c6b4b912fad
after reversal in 0b90ed8913d1bcdad80d99e1568e2139794efb08
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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.
|
| |\| | | |
|
| | | | | |
|
| |\| | | |
|
| | |\ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- 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
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- 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
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Avoid some attribute set accesses
- Make a variable more local, avoiding a thunk
- Avoid always checking config.checkMeta for every attribute
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Remove some clearly-unnecessary ones and add some direly-needed ones
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Probably that's a historical artifact
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- 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)
|
| |\| | | |
| |_|/ /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |/
| |/|
| | |
| | | |
Co-authored-by: infinisil <github@infinisil.com>
|
| |\| | |
|
| | | | |
|
| |\| | |
|
| | |/ |
|
| |\ \
| |/
|/| |
|