singularity-forge/flake.nix
2026-04-15 13:38:15 +02:00

35 lines
825 B
Nix

{
description = "Minimal runtime shell for gsd-2";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
bash
bun
git
nodejs_24
];
shellHook = ''
export GSD_SOURCE_DIR="${toString ./.}"
export PATH="$GSD_SOURCE_DIR/bin:$PATH"
echo "gsd-2 runtime shell"
echo " bun : $(command -v bun)"
echo " node: $(command -v node)"
'';
};
});
}