diff --git a/pkgs/development/libraries/gobject-introspection/default.nix b/pkgs/development/libraries/gobject-introspection/default.nix index c2f60d460d7e..2567975aa660 100644 --- a/pkgs/development/libraries/gobject-introspection/default.nix +++ b/pkgs/development/libraries/gobject-introspection/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, glib, flex, bison, pkgconfig, libffi, python , libintlOrEmpty, autoconf, automake, otool -, substituteAll, nixStoreDir ? "/nix/store" +, substituteAll, nixStoreDir ? builtins.storeDir }: # now that gobjectIntrospection creates large .gir files (eg gtk3 case) # it may be worth thinking about using multiple derivation outputs diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b04d2c1457bc..8d270ce7f860 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6640,7 +6640,7 @@ let mpfr = callPackage ../development/libraries/mpfr/default.nix { }; gobjectIntrospection = callPackage ../development/libraries/gobject-introspection { - nixStoreDir = config.nix.storeDir or "/nix/store"; + nixStoreDir = config.nix.storeDir or builtins.storeDir; }; goocanvas = callPackage ../development/libraries/goocanvas { };