Nix flake created
This commit is contained in:
parent
492226c000
commit
b97421a66d
3 changed files with 83 additions and 1 deletions
21
flake.nix
Normal file
21
flake.nix
Normal 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";
|
||||
};
|
||||
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue