41 lines
986 B
Nix
41 lines
986 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
outputs =
|
|
{ self
|
|
, nixpkgs
|
|
, flake-utils
|
|
,
|
|
}:
|
|
flake-utils.lib.eachDefaultSystem (
|
|
system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
nativeBuildInputs = with pkgs; [ ];
|
|
buildInputs = with pkgs; [ ];
|
|
in
|
|
with pkgs;
|
|
rec {
|
|
packages = rec {
|
|
website = pkgs.stdenv.mkDerivation {
|
|
name = "website";
|
|
version = "2025-09-29";
|
|
src = ./.;
|
|
inherit nativeBuildInputs buildInputs;
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp -pr ./* $out/
|
|
'';
|
|
};
|
|
default = website;
|
|
};
|
|
devShells.default = mkShell {
|
|
buildInputs = buildInputs ++ [ ];
|
|
inherit nativeBuildInputs;
|
|
packages = with pkgs; [ ];
|
|
};
|
|
}
|
|
);
|
|
}
|