Skip to content

Commit

Permalink
Bypass problem with wrapGAppsHook
Browse files Browse the repository at this point in the history
Previously I had
Builder called die: makeWrapper doesn't understand the arg GI_TYPELIB_PATH
Backtrace:
108 makeWrapper /nix/store/1fgzsay81ncq1mf3608kzjklhikhqp1a-hook/nix-support/setup-hook
152 wrapProgram /nix/store/1fgzsay81ncq1mf3608kzjklhikhqp1a-hook/nix-support/setup-hook
109 wrapPythonProgramsIn /nix/store/agjbw5gdv6ds22arjg4aqn0g89zrarma-hook/nix-support/setup-hook
4 wrapPythonPrograms /nix/store/agjbw5gdv6ds22arjg4aqn0g89zrarma-hook/nix-support/setup-hook
97 _callImplicitHook /nix/store/1zpvvxqxypyx2hlsg4zm7jdh1dc7z7cz-stdenv-linux/setup
116 _eval /nix/store/1zpvvxqxypyx2hlsg4zm7jdh1dc7z7cz-stdenv-linux/setup
45 runHook /nix/store/1zpvvxqxypyx2hlsg4zm7jdh1dc7z7cz-stdenv-linux/setup
1204 fixupPhase /nix/store/1zpvvxqxypyx2hlsg4zm7jdh1dc7z7cz-stdenv-linux/setup
1325 genericBuild /nix/store/1zpvvxqxypyx2hlsg4zm7jdh1dc7z7cz-stdenv-linux/setup
2 main /nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh

Problem is with the call to wrapProgram, the GST_PLUGIN_SYSTEM_PATH_1_0
is missing arguments

wrapProgram \
    /nix/store/b3l3niilvqcxcsbxmd6sgqk1dy1rk81c-pye-menu-1.0/bin/pye_menu_shell \
    --prefix PATH : /nix/store/4c3z5r6yxsf2cxwwyazhdn92xixn4j5b-python3-3.7.5/bin:/nix/store/b3l3niilvqcxcsbxmd6sgqk1dy1rk81c-pye-menu-1.0/bin:/nix/store/y8j1cfj8d9r5rbbxc22w7hnfjw5f4fd3-cairo-1.16.0-dev/bin:/nix/store/6mg7lfbdh9pgx7pbxr3544qqbrigdl1q-freetype-2.10.1-dev/bin:/nix/store/gpszqcy0xi0lavbbjdq82zkkjp3jbp2a-bzip2-1.0.6.0.1-bin/bin:/nix/store/031c5pk5lzabgmpqpyd46hzi625as6bp-libpng-apng-1.6.37-dev/bin:/nix/store/f8kl7kmpv130aw9zm542p74a3hg0yc13-fontconfig-2.12.6-bin/bin:/nix/store/bqp30vkncmm222mjvwggz0s7p318sflj-expat-2.2.7-dev/bin:/nix/store/w57xa8g4s4aviwmqwgra7m5hwj2b005m-glib-2.60.7-dev/bin:/nix/store/v5d4966ahvfir2hwpv003022f3pb7vik-gettext-0.19.8.1/bin:/nix/store/qpvxhl1jr0fxnrx9idnpdagqs00m5m2z-glib-2.60.7/bin \
    --set PYTHONNOUSERSITE true \
    --set GDK_PIXBUF_MODULE_FILE /nix/store/7ddlakx6xjczqbfs80xjd14f30fzadws-gdk-pixbuf-2.38.1/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \
    --prefix XDG_DATA_DIRS : /nix/store/0snjc1qg89zqn3v35l9d55xrykh9nj5c-gtk+3-3.24.10/share/gsettings-schemas/gtk+3-3.24.10:/nix/store/b41z51vdv11n6df8ki5vj8dynxw98f9l-gsettings-desktop-schemas-3.32.0/share/gsettings-schemas/gsettings-desktop-schemas-3.32.0:/nix/store/0snjc1qg89zqn3v35l9d55xrykh9nj5c-gtk+3-3.24.10/share/gsettings-schemas/gtk+3-3.24.10 \
    --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : \
    --prefix GI_TYPELIB_PATH : /nix/store/0snjc1qg89zqn3v35l9d55xrykh9nj5c-gtk+3-3.24.10/lib/girepository-1.0:/nix/store/z29l5xaaxh1s0697mcldj71ab0zshry1-librsvg-2.44.15/lib/girepository-1.0:/nix/store/pija1xzm7izxfb5m2hvhvlwp1l38ffxa-gobject-introspection-1.60.2/lib/girepository-1.0 \
    --prefix GRL_PLUGIN_PATH :
  • Loading branch information
Kovacsics Robert committed Dec 10, 2019
1 parent 49b86e1 commit 4c95bac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ python3.pkgs.buildPythonPackage rec {
nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
buildInputs = [ gtk3 ];

GST_PLUGIN_SYSTEM_PATH_1_0 = ''""'';
GRL_PLUGIN_PATH = ''""'';

dontWrapGApps = true;
makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ];

Expand Down

0 comments on commit 4c95bac

Please sign in to comment.