mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
We have machinery for Python packaging, so let’s make use of it. This also helps unblock moving `by-name` overrides out of `all-packages.nix`, as it was previously being used to work around `nixpkgs-vet` forbidding the direct reference to the path.
18 lines
212 B
Nix
18 lines
212 B
Nix
{
|
|
pkgs ? import ../../../../.. { },
|
|
}:
|
|
|
|
with pkgs;
|
|
let
|
|
pyEnv = python3.withPackages (ps: [ ps.nixpkgs-plugin-update ]);
|
|
in
|
|
|
|
mkShell {
|
|
packages = [
|
|
bash
|
|
pyEnv
|
|
nix
|
|
nix-prefetch-scripts
|
|
];
|
|
}
|