feat: now building it for the website

This commit is contained in:
silver 2023-09-28 00:15:41 +01:00
parent 419931efdc
commit d93a8e0a8d
2 changed files with 15 additions and 4 deletions

4
.gitignore vendored
View file

@ -22,3 +22,7 @@ test.*
# Dealing with Mac users # Dealing with Mac users
.DS_Store .DS_Store
# nix
result
/result

View file

@ -18,6 +18,13 @@
type = "app"; type = "app";
program = "${bfom.defaultPackage.x86_64-linux}/bin/cargo-bfom"; program = "${bfom.defaultPackage.x86_64-linux}/bin/cargo-bfom";
}; };
};
# `nix build`
packages.x86_64-linux.default = pkgs.stdenv.mkDerivation {
name = "slides.skynet.ie";
src = self;
buildPhase = "${bfom.defaultPackage.x86_64-linux}/bin/cargo-bfom";
installPhase = "mkdir -p $out; cp -R build/* $out";
};
};
} }