coastguard / flake.nix
ianluo's picture
restructure
497b153
raw
history blame
713 Bytes
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.inputs.nixpkgs.follows = "nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
pythonPackages = pkgs.python39Packages;
runPackages = with nixpkgs; [
pythonPackages.python
];
devPackages = with nixpkgs; runPackages ++ [
pythonPackages.pip
];
in
{
devShell = with pkgs; mkShell {
buildInputs = [
devPackages
];
};
}
);
}