3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development
Artturin c86122e5bd pythonInterpreters: get self from __splicedPackages
BEFORE:

the python derivation did not contain .nativeDrv and .crossDrv because
it was not from the __splicedPackages set

the python used in mk-python-derivation.nix was for host

```
nix-repl> pkgsCross.aarch64-multiplatform.python3Packages.xpybutil.nativeBuildInputs
[ «derivation /nix/store/bhz39ds4v02hn6x4py4mzjyilw4a589h-python3-aarch64-unknown-linux-gnu-3.10.7.drv» «derivation /nix/store/v880cnh4ml7czmivfbk3cdh93hz9yvbn-hook.drv» «derivation /nix/store/f243ab7wv92gqsmc9h7gr0qcnj0xcgdb-hook.drv» «derivation /nix/store/880lf8895bzn8d94lrr2y7ilgkxq0lc4-python-remove-tests-dir-hook.drv» «derivation /nix/store/fzjnhawfs1wpw58hcd1vxd9y750dc08y-python-remove-bin-bytecode-hook.drv» «derivation /nix/store/n8l59iparx98yfw8g5ydqmzmk3fdic75-setuptools-setup-hook.drv» «deri→
```

AFTER:

the python derivation does contain .nativeDrv and .crossDrv because
it is from the __splicedPackages set

those 2 are what makes nativeBuildInputs and buildInputs function
properly

the python used in mk-python-derivation.nix is for build

```
nix-repl> pkgsCross.aarch64-multiplatform.python3Packages.xpybutil.nativeBuildInputs
[ «derivation /nix/store/hvb9yxgv1133cfhxxd869sibldvv2vdx-python3-3.10.7.drv» «derivation /nix/store/v880cnh4ml7czmivfbk3cdh93hz9yvbn-hook.drv» «derivation /nix/store/f243ab7wv92gqsmc9h7gr0qcnj0xcgdb-hook.drv» «derivation /nix/store/880lf8895bzn8d94lrr2y7ilgkxq0lc4-python-remove-tests-dir-hook.drv» «derivation /nix/store/fzjnhawfs1wpw58hcd1vxd9y750dc08y-python-remove-bin-bytecode-hook.drv» «derivation /nix/store/n8l59iparx98yfw8g5ydqmzmk3fdic75-setuptools-setup-hook.drv» «derivation /nix/store/7vyhynla→
```
2022-10-15 09:35:29 +02:00
..
androidndk-pkgs
beam-modules
bower-modules/generic
chez-modules
compilers Merge pull request #195948 from r-ryantm/auto-update/closure-compiler 2022-10-14 19:32:08 -05:00
coq-modules
dhall-modules
dotnet-modules
em-modules/generic
embedded arduino-language-server: 0.7.1 -> 0.7.2 2022-10-14 15:01:21 +00:00
gnuradio-modules
guile-modules
haskell-modules
idris-modules
interpreters pythonInterpreters: get self from __splicedPackages 2022-10-15 09:35:29 +02:00
java-modules
libraries Merge pull request #188954 from sikmir/libcdr 2022-10-15 05:04:01 +03:00
lisp-modules
lisp-modules-new
lua-modules
misc Merge pull request #195874 from Artturin/removeinheritxorg 2022-10-15 04:27:23 +03:00
mobile
nim-packages
node-packages
ocaml-modules ocamlPackages.mirage-block-unix: 2.14.1 → 2.14.2 2022-10-14 22:17:56 +02:00
octave-modules Merge pull request #188443 from rantlivelintkale/fix/octavePackages.singal-update 2022-10-14 22:32:28 +02:00
perl-modules
pharo
php-packages
python-modules Merge pull request #196043 from fabaff/reactivex 2022-10-15 08:53:07 +02:00
python2-modules
quickemu
r-modules
ruby-modules
scheme-modules/scheme-bytestructures
tools Merge pull request #196083 from r-ryantm/auto-update/flow 2022-10-14 22:58:11 -05:00
web bun: 0.1.13 -> 0.2.0 2022-10-14 09:07:46 +00:00