mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
gamin: don't change hashes on non-darwin
Sorry, I didn't realize this is "fam" which is used in glib.
This commit is contained in:
parent
39bc57f35f
commit
16040297a7
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, python, pkgconfig, glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "gamin-0.1.10";
|
||||
|
||||
src = fetchurl {
|
||||
@ -18,9 +18,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./deadlock.patch ] ++ map fetchurl (import ./debian-patches.nix);
|
||||
|
||||
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
sed -i 's/,--version-script=.*$/\\/' libgamin/Makefile
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://people.gnome.org/~veillard/gamin/;
|
||||
@ -29,3 +26,10 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
// stdenv.lib.optionalAttrs stdenv.isDarwin {
|
||||
preBuild = ''
|
||||
sed -i 's/,--version-script=.*$/\\/' libgamin/Makefile
|
||||
'';
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user