21 lines
No EOL
451 B
Nix
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";
|
|
};
|
|
}
|
|
);
|
|
} |