fix evaluation with config.allowAliases = false

This commit is contained in:
volth 2019-04-19 10:14:39 +00:00
parent 5e7e5a2062
commit cf3f3fd1b5
6 changed files with 12 additions and 11 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl { stdenv, fetchurl
, pkgconfig, intltool, gnome3 , pkgconfig, intltool, glib
, glib, dbus, gtk3, libappindicator-gtk3, gst_all_1 , glib, dbus, gtk3, libappindicator-gtk3, gst_all_1
, librsvg, wrapGAppsHook , librsvg, wrapGAppsHook
, pulseaudioSupport ? true, libpulseaudio ? null }: , pulseaudioSupport ? true, libpulseaudio ? null }:
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
}; };
# https://bugs.launchpad.net/audio-recorder/+bug/1784622 # https://bugs.launchpad.net/audio-recorder/+bug/1784622
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0"; NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ]; nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];

View File

@ -4,6 +4,7 @@
, ninja , ninja
, pkgconfig , pkgconfig
, gnome3 , gnome3
, glib
, desktop-file-utils , desktop-file-utils
, gettext , gettext
, itstool , itstool
@ -55,7 +56,7 @@ in stdenv.mkDerivation rec {
# https://github.com/NixOS/nixpkgs/issues/36468 # https://github.com/NixOS/nixpkgs/issues/36468
# https://gitlab.gnome.org/GNOME/recipes/issues/76 # https://gitlab.gnome.org/GNOME/recipes/issues/76
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0"; NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
postPatch = '' postPatch = ''
chmod +x src/list_to_c.py chmod +x src/list_to_c.py

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gnome3, libxml2, gtk-engine-murrine, gdk_pixbuf, librsvg, bc }: { stdenv, fetchFromGitHub, gnome3, glib, libxml2, gtk-engine-murrine, gdk_pixbuf, librsvg, bc }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "materia-theme"; pname = "materia-theme";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1fpipwvwxjiriqhysqgx51rnax73hyd5jkyxhc2g3y73s5r2xq82"; sha256 = "1fpipwvwxjiriqhysqgx51rnax73hyd5jkyxhc2g3y73s5r2xq82";
}; };
nativeBuildInputs = [ gnome3.glib libxml2 bc ]; nativeBuildInputs = [ glib libxml2 bc ];
buildInputs = [ gnome3.gnome-themes-extra gdk_pixbuf librsvg ]; buildInputs = [ gnome3.gnome-themes-extra gdk_pixbuf librsvg ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, libcanberra-gtk3, libgtop, gnome2, gnome3, gtk3, mate, wrapGAppsHook }: { stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, libcanberra-gtk3, libgtop, libstartup_notification, gnome3, gtk3, mate, wrapGAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "marco-${version}"; name = "marco-${version}";
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
libxml2 libxml2
libcanberra-gtk3 libcanberra-gtk3
libgtop libgtop
gnome2.startup_notification libstartup_notification
gtk3 gtk3
gnome3.zenity gnome3.zenity
]; ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gnome3, gtk3, gtksourceview3, libwnck3, libgtop, libxml2, libnotify, polkit, upower, wirelesstools, mate, hicolor-icon-theme, wrapGAppsHook }: { stdenv, fetchurl, pkgconfig, intltool, itstool, gnome3, glib, gtk3, gtksourceview3, libwnck3, libgtop, libxml2, libnotify, polkit, upower, wirelesstools, mate, hicolor-icon-theme, wrapGAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "mate-applets-${version}"; name = "mate-applets-${version}";
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-suid=no" ]; configureFlags = [ "--enable-suid=no" ];
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0"; NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Applets for use with the MATE panel"; description = "Applets for use with the MATE panel";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gnome3, libxml2, gtk-engine-murrine, gdk_pixbuf, librsvg, bc }: { stdenv, fetchFromGitHub, gnome3, glib, libxml2, gtk-engine-murrine, gdk_pixbuf, librsvg, bc }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "equilux-theme-${version}"; name = "equilux-theme-${version}";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "0lv2yyxhnmnkwxp576wnb01id4fp734b5z5n0l67sg5z7vc2h8fc"; sha256 = "0lv2yyxhnmnkwxp576wnb01id4fp734b5z5n0l67sg5z7vc2h8fc";
}; };
nativeBuildInputs = [ gnome3.glib libxml2 bc ]; nativeBuildInputs = [ glib libxml2 bc ];
buildInputs = [ gnome3.gnome-themes-extra gdk_pixbuf librsvg ]; buildInputs = [ gnome3.gnome-themes-extra gdk_pixbuf librsvg ];