add dev shell

This commit is contained in:
Paul-Nicolas Madelaine 2023-09-18 14:05:24 +02:00
parent dbec7d63fd
commit d2ca523358

View file

@ -7,12 +7,15 @@
outputs = { self, nixpkgs, flake-utils, }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
let
pkgs = import nixpkgs { inherit system; };
python = pkgs.python3.withPackages (ps: with ps; [ markdown pelican ]);
in {
packages.default = pkgs.writeTextDir "index.html" ''
Hello world!
This is the personal website of Paul-Nicolas Madelaine.
'';
devShells.default = pkgs.mkShell { packages = [ python ]; };
});
}