add dev shell
This commit is contained in:
parent
dbec7d63fd
commit
d2ca523358
|
@ -7,12 +7,15 @@
|
||||||
|
|
||||||
outputs = { self, nixpkgs, flake-utils, }:
|
outputs = { self, nixpkgs, flake-utils, }:
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
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 {
|
in {
|
||||||
packages.default = pkgs.writeTextDir "index.html" ''
|
packages.default = pkgs.writeTextDir "index.html" ''
|
||||||
Hello world!
|
Hello world!
|
||||||
This is the personal website of Paul-Nicolas Madelaine.
|
This is the personal website of Paul-Nicolas Madelaine.
|
||||||
'';
|
'';
|
||||||
|
devShells.default = pkgs.mkShell { packages = [ python ]; };
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue