dosage/flake.nix

30 lines
558 B
Nix
Raw Normal View History

2023-11-05 17:06:00 +00:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
self,
nixpkgs,
flake-utils,
...
}: let
pythonVersion = "python39";
in
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = nixpkgs.legacyPackages.${system};
in rec
{
devShells.default = pkgs.mkShell {
buildInputs = [
pkgs.cowsay
pkgs.alejandra
pkgs.python310Full
];
};
}
);
}