11 lines
333 B
Nix
11 lines
333 B
Nix
{pkgs ? import <nixpkgs> {}}:
|
|
pkgs.stdenv.mkDerivation {
|
|
name = "riverguile";
|
|
src = ./.;
|
|
preFixup = ''
|
|
wrapProgram $out/bin/riverguile --set GUILE_LOAD_PATH "$out/share/guile/3.0/"
|
|
'';
|
|
buildInputs = with pkgs; [wayland guile];
|
|
nativeBuildInputs = with pkgs; [pkg-config makeBinaryWrapper wayland wayland-scanner];
|
|
}
|