mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
ops: remove python pulumi
This commit is contained in:
parent
04f9462e87
commit
f9d8514202
2 changed files with 1 additions and 198 deletions
|
|
@ -7,25 +7,11 @@
|
|||
with pkgs; let
|
||||
repo = import ../outputs.nix { inherit inputs; };
|
||||
inherit (std) set list;
|
||||
python = "python39";
|
||||
mergeEnvs = envs:
|
||||
pkgs.mkShell (list.foldl'
|
||||
(a: v: {
|
||||
buildInputs = a.buildInputs ++ v.buildInputs;
|
||||
nativeBuildInputs = a.nativeBuildInputs ++ v.nativeBuildInputs;
|
||||
})
|
||||
(pkgs.mkShell { })
|
||||
envs);
|
||||
requirements = builtins.readFile ../requirements.txt;
|
||||
mach-nix-wrapper = import inputs.mach-nix { inherit pkgs python; };
|
||||
pythonShell = mach-nix-wrapper.mkPythonShell { inherit requirements; };
|
||||
repoShell = mkShell {
|
||||
nativeBuildInputs =
|
||||
[
|
||||
go # Required for pulumi
|
||||
pulumi-bin # Infrastructure as code
|
||||
python39Packages.pulumi # Pulumi for Python!
|
||||
pulumiPackages.pulumi-language-python # Python!
|
||||
deadnix # dead-code scanner
|
||||
alejandra # code formatter
|
||||
statix # anti-pattern finder
|
||||
|
|
@ -35,4 +21,4 @@ with pkgs; let
|
|||
''))
|
||||
repo.darwinConfigurations);
|
||||
};
|
||||
in mergeEnvs [ repoShell pythonShell ]
|
||||
in repoShell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue