pyinfra/flake.nix

21 lines
496 B
Nix
Raw Normal View History

2024-09-26 23:26:06 +02:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = {nixpkgs, ...}: {
devShells.x86_64-linux =
let
pkgs = import nixpkgs { system = "x86_64-linux"; config.allowUnfree = true;};
in
{
default = pkgs.mkShell {
LD_LIBRARY_PATH = nixpkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc ];
VIRTUAL_ENV_DISABLE_PROMPT = 1;
packages = with pkgs; [
python3
];
};
};
};
}