nixpkgs-suyu/pkgs/top-level
Artturin 9ff71f97c8 python-setup-hook: use buildPackages.callPackage to not change hashes
this is just a hook so its safe

without this change:

we build a python3 for buildHost twice instead of only once while the result
of the build is the same

```
nix-repl> pkgsCross.aarch64-multiplatform.python3.pythonForBuild
«derivation /nix/store/5sx1ng86lxzggi33rchvq0z16ywkg11b-python3-3.10.7.drv»

nix-repl> pkgsCross.aarch64-multiplatform.buildPackages.python3
«derivation /nix/store/c5rlaqdfymd3j5v41rh98pjcv3dx3sh7-python3-3.10.7.drv»
```

```
$ nix-diff $(getOutForDrv "/nix/store/5sx1ng86lxzggi33rchvq0z16ywkg11b-python3-3.10.7.drv") $(getOutForDrv "/nix/store/c5rlaqdfymd3j5v41rh98pjcv3dx3sh7-python3-3.10.7.drv") --environment
- /nix/store/3fkwg2pypsxhydgwb9m7f1v5pcgfns6p-python3-3.10.7:{out}
+ /nix/store/wyhbl43ycqn43d08v5fqj1j6ynf7nz73-python3-3.10.7:{out}
• The input derivation named `python-setup-hook.sh` differs
  - /nix/store/slvn39rh0l53c9czaf3g6a4awcj63j5r-python-setup-hook.sh.drv:{out}
  + /nix/store/bcjff6dn4gp7pf0knnja9ax4qrll78d5-python-setup-hook.sh.drv:{out}
  • The set of input source names do not match:
      - cross-file.conf
  • The input derivation named `stdenv-linux` differs
    - /nix/store/rsxsipgabvny0mc286j3vfpgaaaixdyz-stdenv-linux.drv:{out}
    + /nix/store/46ywpk0p6r22y502gi21xxghminy9lbj-stdenv-linux.drv:{out}
    • The set of input derivation names do not match:
        - hook
        + acl-2.3.1
        + attr-2.5.1
        + binutils-2.39
        + binutils-wrapper-2.39
        + ed-1.18
        + expand-response-params
        + gcc-11.3.0
        + gcc-wrapper-11.3.0
        + glibc-2.35-163
        + gmp-with-cxx-stage4-6.2.1
        + libidn2-2.3.2
        + libunistring-1.0
        + linux-headers-5.19
        + pcre-8.45
        + zlib-1.2.12
    • The set of input derivations named `bzip2-1.0.8` do not match
    • The set of input derivations named `xz-5.2.6` do not match
    • The environments do not match:
        + allowedRequisites=...
        defaultNativeBuildInputs=''
        ...
    ''
  • The environments do not match:
      cmakeFlags=''
      -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_HOST_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_PROCESSOR=x86_64
  ''
      configureFlags=''
      --build=x86_64-unknown-linux-gnu --host=aarch64-unknown-linux-gnu
  ''
      mesonFlags=''
      --cross-file=/nix/store/0d6bflf42rgrrxhp10visp67scqncd4g-cross-file.conf
  ''
      stdenv=''
      /nix/store/6ji09gqw12pnp3ylw3rrsd65f9vhhx89-stdenv-linux/nix/store/ykjm8yzjcwg2xpf640zh6jql5s8yimkp-stdenv-linux
  ''
• The environments do not match:
    setupHook=''
    /nix/store/x6rrxsai11kl9gq29ipv0jn455admav3-python-setup-hook.sh/nix/store/h7z4wvlf7n23ir86nngjn9rpk1ygc7di-python-setup-hook.sh
''
```
2022-10-12 14:40:18 +02:00
..
agda-packages.nix
aliases.nix Merge pull request #195217 from yorickvP/microhttpd 2022-10-10 23:01:47 +01:00
all-packages.nix python-setup-hook: use buildPackages.callPackage to not change hashes 2022-10-12 14:40:18 +02:00
beam-packages.nix
config.nix pkgs/top-level: convert to MD option docs 2022-10-03 14:00:32 +02:00
coq-packages.nix Split coqPackages.mathcomp-analysis 2022-09-26 09:46:37 +02:00
cubocore-packages.nix
cuda-packages.nix
darwin-packages.nix
default.nix
dhall-packages.nix
dotnet-packages.nix
emacs-packages.nix
emscripten-packages.nix treewide: move pkg-config, autoreconfHook, intltool to nativeBuildInputs 2022-09-26 17:53:26 +03:00
gnuradio-packages.nix
haskell-packages.nix haskell.compiler: upgrade to 9.2.4 for 9.2.* binary compiler 2022-09-26 18:02:02 +02:00
haxe-packages.nix
impure.nix
java-packages.nix openjdk*: fix darwin eval failure 2022-10-03 20:04:10 +03:00
kodi-packages.nix kodiPlugins.waveform-visualization: init at 19.0.2 2022-09-16 18:31:35 +02:00
linux-kernels.nix Merge pull request #194545 from fortuneteller2k/xanmod 2022-10-10 11:46:56 -03:00
lua-packages.nix
make-tarball.nix
metrics.nix
nim-packages.nix
nixpkgs-basic-release-checks.nix
ocaml-packages.nix ocamlPackages.git: 3.5.0 -> 3.9.1 (#188389) 2022-10-11 08:50:54 +02:00
octave-packages.nix top-level/octave-packages.nix: remove unused bindings 2022-09-26 22:18:48 -04:00
packages-config.nix
perl-packages.nix Merge branch 'master' into staging-next 2022-10-08 10:20:07 +02:00
php-packages.nix php: enable imap extension by default 2022-10-03 10:06:48 +02:00
python-aliases.nix Merge remote-tracking branch 'origin/master' into staging-next 2022-09-25 21:36:31 +02:00
python-packages.nix python3Packages.bcrypt: Revert to 3.2.2 on i686-linux 2022-10-12 12:24:58 +02:00
python2-packages.nix
qt5-packages.nix
qt6-packages.nix qt6Packages.kcoreaddons: init 2022-09-17 20:51:50 +08:00
release-alternatives.nix
release-cross.nix
release-cuda.nix
release-haskell.nix haskell.packages.ghc942: get inital support up 2022-10-02 14:01:45 +02:00
release-lib.nix
release-python.nix
release-r.nix
release-small.nix
release.nix pkgs/top-level/release.nix: disallow symbol clash between 'pkgs' and local jobs 2022-09-12 12:53:31 -07:00
ruby-packages.nix rubyPackages.thrift: 0.16.0 -> 0.17.0 2022-10-09 10:44:40 +02:00
splice.nix
stage.nix stage.nix: revert deletion of gcc.abi="elfv2" from 82ff1f5 2022-09-27 22:48:52 +02:00
unixtools.nix
wine-packages.nix