feat: replace the older script with a nix flake, gitlab pipeline incoming shortly
This commit is contained in:
parent
7e50989ca5
commit
0a3aba3758
3 changed files with 79 additions and 23 deletions
20
flake.nix
Normal file
20
flake.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
description = "Skynet Almnui Renew";
|
||||
|
||||
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 = "skynet-website-renew";
|
||||
src = self;
|
||||
installPhase = "mkdir -p $out; cp -R src/* $out";
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue