parent
93e73ec6b7
commit
7056bcd69e
|
@ -11,11 +11,14 @@
|
|||
} @ inputs:
|
||||
inputs.flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
simpleShell = packages:
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = packages;
|
||||
};
|
||||
in {
|
||||
devShells = {
|
||||
gitea-docusaurus = pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [nodejs gnumake];
|
||||
};
|
||||
gitea-docusaurus = simpleShell (with pkgs; [nodejs gnumake]);
|
||||
gitea = simpleShell (with pkgs; [poetry gnumake]);
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue