23 lines
539 B
Nix
23 lines
539 B
Nix
{
|
|
description = "Shell with python dev environment";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-25.05";
|
|
nixpkgs_unstable.url = "nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs =
|
|
{ nixpkgs, nixpkgs_unstable, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
pkgs_ustbl = nixpkgs_unstable.legacyPackages.${system};
|
|
in
|
|
{
|
|
devShells.${system}.default = nixpkgs.legacyPackages.${system}.mkShell {
|
|
buildInputs = [
|
|
pkgs.python311
|
|
];
|
|
};
|
|
};
|
|
}
|