diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-02-24 20:56:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 20:56:53 +0100 |
commit | 7fb671e43e74b28d0db12c71a03977a9cd760c4e (patch) | |
tree | b22e1de1d10ade7250d7e706b02d8e72adca6656 | |
parent | 9532ca329e6dd563b36105509d7ef99443139416 (diff) | |
parent | 26bd210afc2deb524417d447e42687f7fb28f5fe (diff) | |
download | nixlib-7fb671e43e74b28d0db12c71a03977a9cd760c4e.tar nixlib-7fb671e43e74b28d0db12c71a03977a9cd760c4e.tar.gz nixlib-7fb671e43e74b28d0db12c71a03977a9cd760c4e.tar.bz2 nixlib-7fb671e43e74b28d0db12c71a03977a9cd760c4e.tar.lz nixlib-7fb671e43e74b28d0db12c71a03977a9cd760c4e.tar.xz nixlib-7fb671e43e74b28d0db12c71a03977a9cd760c4e.tar.zst nixlib-7fb671e43e74b28d0db12c71a03977a9cd760c4e.zip |
Merge pull request #80837 from zowoq/ostree-2020-2
ostree: 2019.6 -> 2020.2
-rw-r--r-- | pkgs/tools/misc/ostree/default.nix | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/tools/misc/ostree/default.nix b/pkgs/tools/misc/ostree/default.nix index 4bc690bc45fd..9a41f5e857ad 100644 --- a/pkgs/tools/misc/ostree/default.nix +++ b/pkgs/tools/misc/ostree/default.nix @@ -37,13 +37,13 @@ let ])); in stdenv.mkDerivation rec { pname = "ostree"; - version = "2019.6"; + version = "2020.2"; outputs = [ "out" "dev" "man" "installedTests" ]; src = fetchurl { url = "https://github.com/ostreedev/ostree/releases/download/v${version}/libostree-${version}.tar.xz"; - sha256 = "1bhrfbjna3rnymijxagzkdq2zl74g71s2xmimihjhvcw2zybi0jl"; + sha256 = "0bbk0sg4m38g7j00hy358p2azxas87minpgz3avwma6jsylj1qjg"; }; patches = [ @@ -52,12 +52,6 @@ in stdenv.mkDerivation rec { # Patch from https://github.com/ostreedev/ostree/pull/1633 ./01-Drop-ostree-trivial-httpd-CLI-move-to-tests-director.patch - # Fix tests running in Catalan instead of C locale. - (fetchpatch { - url = "https://github.com/ostreedev/ostree/commit/5135a1e58ade2bfafc8c1fda359540eafd72531e.patch"; - sha256 = "1crzaagw1zzx8v6rsnxb9jnc3ij9hlpvdl91w3skqdm28adx7yx8"; - }) - # Workarounds for https://github.com/ostreedev/ostree/issues/1592 ./fix-1592.patch @@ -119,9 +113,14 @@ in stdenv.mkDerivation rec { "installed_test_metadir=${placeholder "installedTests"}/share/installed-tests/libostree" ]; - postFixup = '' + postFixup = let + typelibPath = stdenv.lib.makeSearchPath "/lib/girepository-1.0" [ + (placeholder "out") + gobject-introspection + ]; + in '' for test in $installedTests/libexec/installed-tests/libostree/*.js; do - wrapProgram "$test" --prefix GI_TYPELIB_PATH : "$out/lib/girepository-1.0" + wrapProgram "$test" --prefix GI_TYPELIB_PATH : "${typelibPath}" done ''; |