react-three-silly/flake.nix
2024-05-08 00:49:30 +02:00

19 lines
486 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }:
utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in {
devShell = with pkgs; mkShell {
buildInputs = with pkgs; [ nodejs_22 ];
LD_LIBRARY_PATH = lib.makeLibraryPath [ stdenv.cc.cc.lib ];
};
}
);
}