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