website_2017/flake.nix
Brendan Golden 0af67c9ece
All checks were successful
On_Push / build (push) Successful in 1m41s
On_Push / deploy (push) Successful in 15s
ci: testing not using self
2024-08-21 04:22:23 +01:00

21 lines
No EOL
451 B
Nix

{
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 = ./.;
installPhase = "mkdir -p $out; cp -R src/* $out";
};
}
);
}