tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gpicview: fix darwin build
Matthew Bauer
9 years ago
9610fc55
1705b314
+8
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
graphics
gpicview
default.nix
+8
-1
pkgs/applications/graphics/gpicview/default.nix
···
1
1
-
{ stdenv, fetchurl, intltool, pkgconfig, gtk2 }:
1
1
+
{ stdenv, fetchurl, intltool, pkgconfig, gtk2, fetchpatch }:
2
2
3
3
stdenv.mkDerivation {
4
4
name = "gpicview-0.2.4";
···
7
7
url = "mirror://sourceforge/lxde/gpicview-0.2.4.tar.gz";
8
8
sha256 = "1svcy1c8bgk0pl12yhyv16h2fl52x5vzzcv57z6qdcv5czgvgglr";
9
9
};
10
10
+
11
11
+
patches = [
12
12
+
(fetchpatch {
13
13
+
url = "https://raw.githubusercontent.com/nonas/debian-clang/master/buildlogs/gpicview/gpicview-0.2.4/debian/patches/clang_FTBFS_Wreturn-type.patch";
14
14
+
sha256 = "02dm966bplnv10knpdx7rlpjipk884156ggd9ij05zhza0jl8xcs";
15
15
+
})
16
16
+
];
10
17
11
18
meta = with stdenv.lib; {
12
19
description = "A simple and fast image viewer for X";