feat: now building it for the website
This commit is contained in:
parent
419931efdc
commit
d93a8e0a8d
2 changed files with 15 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -22,3 +22,7 @@ test.*
|
||||||
|
|
||||||
# Dealing with Mac users
|
# Dealing with Mac users
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# nix
|
||||||
|
result
|
||||||
|
/result
|
||||||
|
|
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue