diff options
Diffstat (limited to 'nix/shell/meson.nix')
-rwxr-xr-x | nix/shell/meson.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nix/shell/meson.nix b/nix/shell/meson.nix new file mode 100755 index 0000000..8c06eb8 --- /dev/null +++ b/nix/shell/meson.nix @@ -0,0 +1,10 @@ +{ pkgs ? import <nixpkgs> {} }: +pkgs.mkShell { + buildInputs = with pkgs; [ + (import ../pkgs/meson-pkgs.nix { inherit pkgs; }) + ]; + shellHook = '' + meson setup --wipe build && ninja -v -C build + ''; +} +# nix-shell nix/shell/meson.nix |