23 lines
566 B
Nix
23 lines
566 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let pkgs = import nixpkgs { inherit system; };
|
|
in {
|
|
# For local development...
|
|
devShell = pkgs.mkShell {
|
|
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc.lib ];
|
|
|
|
buildInputs = with pkgs; [ bun ];
|
|
};
|
|
|
|
# ... and remote deployment.
|
|
# packages = {};
|
|
|
|
});
|
|
}
|