But it does not work because the git repository uses sha256 hashes which nix does not yet support.
21 lines
543 B
Nix
21 lines
543 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
};
|
|
outputs = { self, nixpkgs }:
|
|
let
|
|
supportedSystems = [ "x86_64-linux" "aarch64-linux" ];
|
|
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
|
in
|
|
{
|
|
devShells = forAllSystems (system: {
|
|
default = nixpkgs.legacyPackages.${system}.mkShellNoCC {
|
|
packages = with nixpkgs.legacyPackages.${system}; [
|
|
ruff
|
|
poetry
|
|
python
|
|
];
|
|
};
|
|
});
|
|
};
|
|
}
|