Loading pkgs/by-name/sp/spice-gtk/package.nix +17 −10 Original line number Diff line number Diff line Loading @@ -155,16 +155,23 @@ stdenv.mkDerivation rec { "-Dcoroutine=gthread" # Fixes "Function missing:makecontext" ]; postPatch = '' postPatch = '' # get rid of absolute path to helper in store so we can use a setuid wrapper substituteInPlace src/usb-acl-helper.c \ --replace 'ACL_HELPER_PATH"/' '"' --replace-fail 'ACL_HELPER_PATH"/' '"' # don't try to setcap/suid in a nix builder substituteInPlace src/meson.build \ --replace "meson.add_install_script('../build-aux/setcap-or-suid'," \ --replace-fail "meson.add_install_script('../build-aux/setcap-or-suid'," \ "# meson.add_install_script('../build-aux/setcap-or-suid'," patchShebangs subprojects/keycodemapdb/tools/keymap-gen '' + lib.optionalString stdenv.hostPlatform.isDarwin '' # don't use version script and don't export symbols substituteInPlace src/meson.build \ --replace-fail "spice_gtk_version_script = [" "# spice_gtk_version_script = [" \ --replace-fail ",--version-script=@0@'.format(spice_client_glib_syms_path)" "'" ''; meta = with lib; { Loading Loading
pkgs/by-name/sp/spice-gtk/package.nix +17 −10 Original line number Diff line number Diff line Loading @@ -155,16 +155,23 @@ stdenv.mkDerivation rec { "-Dcoroutine=gthread" # Fixes "Function missing:makecontext" ]; postPatch = '' postPatch = '' # get rid of absolute path to helper in store so we can use a setuid wrapper substituteInPlace src/usb-acl-helper.c \ --replace 'ACL_HELPER_PATH"/' '"' --replace-fail 'ACL_HELPER_PATH"/' '"' # don't try to setcap/suid in a nix builder substituteInPlace src/meson.build \ --replace "meson.add_install_script('../build-aux/setcap-or-suid'," \ --replace-fail "meson.add_install_script('../build-aux/setcap-or-suid'," \ "# meson.add_install_script('../build-aux/setcap-or-suid'," patchShebangs subprojects/keycodemapdb/tools/keymap-gen '' + lib.optionalString stdenv.hostPlatform.isDarwin '' # don't use version script and don't export symbols substituteInPlace src/meson.build \ --replace-fail "spice_gtk_version_script = [" "# spice_gtk_version_script = [" \ --replace-fail ",--version-script=@0@'.format(spice_client_glib_syms_path)" "'" ''; meta = with lib; { Loading