nix: setup a devshell to work on teh md
This commit is contained in:
parent
21fcae96be
commit
98dc954587
2 changed files with 112 additions and 4 deletions
12
flake.nix
12
flake.nix
|
@ -1,11 +1,12 @@
|
|||
{
|
||||
description = "Skynet Almnui Renew";
|
||||
description = "Skynet Wiki";
|
||||
|
||||
inputs = {
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
bfom.url = "gitlab:silver_rust/bfom";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
|
||||
outputs = { self, nixpkgs, utils, bfom }: utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages."${system}";
|
||||
in rec {
|
||||
|
@ -15,6 +16,13 @@
|
|||
src = self;
|
||||
installPhase = "mkdir -p $out; cp -R src/* $out";
|
||||
};
|
||||
|
||||
devShells.x86_64-linux.default = pkgs.mkShell {
|
||||
name = "Skynet Wiki env";
|
||||
nativeBuildInputs = [
|
||||
bfom.defaultPackage.x86_64-linux
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue