diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-27 15:26:37 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-29 13:05:28 +0200 |
commit | 75a1ec8a655e7e00a6bb6fc944663c21624fff60 (patch) | |
tree | fcbfd398fd7e7b41f88bd3104040c12101bb8343 /nixos/modules/services/x11/desktop-managers | |
parent | 750195db7f369a6e73d400c0271ef2fa1e0479f0 (diff) | |
download | nixlib-75a1ec8a655e7e00a6bb6fc944663c21624fff60.tar nixlib-75a1ec8a655e7e00a6bb6fc944663c21624fff60.tar.gz nixlib-75a1ec8a655e7e00a6bb6fc944663c21624fff60.tar.bz2 nixlib-75a1ec8a655e7e00a6bb6fc944663c21624fff60.tar.lz nixlib-75a1ec8a655e7e00a6bb6fc944663c21624fff60.tar.xz nixlib-75a1ec8a655e7e00a6bb6fc944663c21624fff60.tar.zst nixlib-75a1ec8a655e7e00a6bb6fc944663c21624fff60.zip |
NixOS: Use runCommand instead of mkDerivation in a few places
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers')
-rw-r--r-- | nixos/modules/services/x11/desktop-managers/gnome3.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/gnome3.nix b/nixos/modules/services/x11/desktop-managers/gnome3.nix index b3da25448029..dc71531759b8 100644 --- a/nixos/modules/services/x11/desktop-managers/gnome3.nix +++ b/nixos/modules/services/x11/desktop-managers/gnome3.nix @@ -25,9 +25,8 @@ let ''; }; - nixos-gsettings-desktop-schemas = pkgs.stdenv.mkDerivation { - name = "nixos-gsettings-desktop-schemas"; - buildCommand = '' + nixos-gsettings-desktop-schemas = pkgs.runCommand "nixos-gsettings-desktop-schemas" {} + '' mkdir -p $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas cp -rf ${gnome3.gsettings_desktop_schemas}/share/gsettings-schemas/gsettings-desktop-schemas*/glib-2.0/schemas/*.xml $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas @@ -46,7 +45,6 @@ let ${pkgs.glib.dev}/bin/glib-compile-schemas $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas/ ''; - }; in { |