website_2017/flake.nix

21 lines
452 B
Nix
Raw Normal View History

2023-07-21 17:24:57 +00:00
{
description = "Skynet main site";
inputs = {
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages."${system}";
in rec {
# `nix build`
defaultPackage = pkgs.stdenv.mkDerivation {
name = "skynet-website";
src = self;
installPhase = "mkdir -p $out; cp -R src/* $out";
};
}
);
}