add dev shell
This commit is contained in:
parent
dbec7d63fd
commit
d2ca523358
|
@ -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 ]; };
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue