24 lines
497 B
Nix
24 lines
497 B
Nix
|
{
|
||
|
description = "Skynet main site, 2000 - ";
|
||
|
|
||
|
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-2000";
|
||
|
src = self;
|
||
|
installPhase = ''
|
||
|
mkdir -p $out
|
||
|
cp -R src/* $out
|
||
|
'';
|
||
|
};
|
||
|
}
|
||
|
);
|
||
|
}
|