Nix flake created

This commit is contained in:
Eoghan Conlon 2023-06-21 22:03:51 +01:00
parent 492226c000
commit b97421a66d
3 changed files with 83 additions and 1 deletions

21
flake.nix Normal file
View file

@ -0,0 +1,21 @@
{
description = "Skynet SSO 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 = "sso_skynet_ie";
src = self;
# buildPhase = "${bfom.defaultPackage."${system}"}/bin/cargo-bfom-blog";
installPhase = "mkdir -p $out; cp -R src/* $out";
};
});
}