diff options
Diffstat (limited to 'pkgs/wlroots/default.nix')
-rw-r--r-- | pkgs/wlroots/default.nix | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/pkgs/wlroots/default.nix b/pkgs/wlroots/default.nix index fc01cdc..a5b72dd 100644 --- a/pkgs/wlroots/default.nix +++ b/pkgs/wlroots/default.nix @@ -21,7 +21,7 @@ in stdenv.mkDerivation rec { # $out for the library, $bin for rootston, and $examples for the example # programs (in examples) AND rootston - outputs = [ "out" "bin" "examples" ]; + outputs = [ "out" "examples" ]; nativeBuildInputs = [ meson ninja pkgconfig ]; @@ -39,22 +39,11 @@ in stdenv.mkDerivation rec { ]; postInstall = '' - # Install rootston (the reference compositor) to $bin and $examples - for output in "$bin" "$examples"; do - mkdir -p $output/bin - cp rootston/rootston $output/bin/ - mkdir $output/lib - cp libwlroots* $output/lib/ - patchelf \ - --set-rpath "$output/lib:${stdenv.lib.makeLibraryPath buildInputs}" \ - $output/bin/rootston - mkdir $output/etc - cp ../rootston/rootston.ini.example $output/etc/rootston.ini - done # Install ALL example programs to $examples: # screencopy dmabuf-capture input-inhibitor layer-shell idle-inhibit idle # screenshot output-layout multi-pointer rotation tablet touch pointer # simple + mkdir -p $examples/bin cd ./examples for binary in $(find . -executable -type f -printf '%P\n' | grep -vE '\.so'); do patchelf \ |