Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c6bb91c9db72
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 79b173c35832
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 5, 2020

  1. gtk2: fix eval with old Nix

    jtojnar committed Nov 5, 2020
    Copy the full SHA
    79b173c View commit details
Showing with 2 additions and 3 deletions.
  1. +2 −3 pkgs/development/libraries/gtk/2.x.nix
5 changes: 2 additions & 3 deletions pkgs/development/libraries/gtk/2.x.nix
Original file line number Diff line number Diff line change
@@ -19,9 +19,6 @@ in
stdenv.mkDerivation rec {
name = "${pname}-${version}";

# passthru to prevent rebuild but allow pname and version
passthru = { inherit pname version; };

src = fetchurl {
url = "mirror://gnome/sources/gtk+/2.24/${pname}-${version}.tar.xz";
sha256 = "b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e";
@@ -78,6 +75,8 @@ stdenv.mkDerivation rec {
'';

passthru = {
# passthru to prevent rebuild but allow pname and version
inherit pname version;
gtkExeEnvPostBuild = ''
rm $out/lib/gtk-2.0/2.10.0/immodules.cache
$out/bin/gtk-query-immodules-2.0 $out/lib/gtk-2.0/2.10.0/immodules/*.so > $out/lib/gtk-2.0/2.10.0/immodules.cache