site/shell.nix

20 lines
379 B
Nix
Raw Normal View History

2020-11-24 21:15:31 +01:00
let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs {};
in
2020-08-24 23:02:08 +02:00
pkgs.mkShell {
2020-10-10 20:56:59 +02:00
buildInputs = with pkgs; [
nixops
2020-08-24 23:02:08 +02:00
python38
python38Packages.mutagen
2020-10-10 10:04:50 +02:00
zola
2020-08-24 23:02:08 +02:00
unzip
wget
];
shellHook = ''
export NIXOPS_DEPLOYMENT=schulischer-schabernack-hcloud
2020-11-24 21:15:31 +01:00
export NIX_PATH=nixpkgs=$(${pkgs.jq}/bin/jq -r .nixpkgs.url nix/sources.json)
'';
2020-08-24 23:02:08 +02:00
}