make it less nonfunctional

This commit is contained in:
mehbark 2023-11-03 21:42:02 -04:00
parent ec9b776779
commit 4432b46c94

View file

@ -7,7 +7,6 @@
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2305.*.tar.gz"; nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2305.*.tar.gz";
}; };
outputs = { self, flake-schemas, nixpkgs }: outputs = { self, flake-schemas, nixpkgs }:
let let
supportedSystems = [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" "aarch64-linux" ]; supportedSystems = [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" "aarch64-linux" ];
@ -30,7 +29,7 @@
mkdir -p $out/bin mkdir -p $out/bin
mv * $out/bin/ mv * $out/bin/
echo "#!/bin/sh" > $out/bin/pesterchum echo "#!/bin/sh" > $out/bin/pesterchum
echo "${python pkgs}/bin/python pesterchum.py" >> $out/bin/pesterchum echo "${python pkgs}/bin/python $out/bin/pesterchum.py" >> $out/bin/pesterchum
''; '';
}; };
}); });