blob: 7c9f2e9f927c3eee6082f6018c8a5ed93fa6cc71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{
description = "19 PDH Puszcza low-tech site";
inputs.nur.url = github:nix-community/NUR;
outputs = { self, nixpkgs, nur }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; overlays = [ nur.overlay ]; };
in {
defaultPackage.${system} = self.packages.${system}.low-puszcza;
packages.${system}.low-puszcza = pkgs.stdenv.mkDerivation {
name = "low-puszcza";
src = self;
nativeBuildInputs = [ pkgs.zip pkgs.nur.repos.pn.saait ];
installPhase = ''
cp -r output $out
'';
};
};
}
|