EmacsInteractiveJson/flake.nix
Michael Volz aea51fccd8 Project: Create flake.nix
But it does not work because the git repository uses sha256 hashes which
nix does not yet support.
2025-01-27 17:47:02 +01:00

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
];
};
});
};
}