diff --git a/pkgs/desktops/deepin/core/dde-gsettings-schemas/default.nix b/pkgs/desktops/deepin/core/dde-gsettings-schemas/default.nix index b211250bc9cf..46fb6480ca4d 100644 --- a/pkgs/desktops/deepin/core/dde-gsettings-schemas/default.nix +++ b/pkgs/desktops/deepin/core/dde-gsettings-schemas/default.nix @@ -27,8 +27,6 @@ let ] ++ extraGSettingsOverridePackages; in -with lib; - # TODO: Having https://github.com/NixOS/nixpkgs/issues/54150 would supersede this runCommand "nixos-gsettings-desktop-schemas" { preferLocalBuild = true; } '' @@ -37,7 +35,7 @@ runCommand "nixos-gsettings-desktop-schemas" { preferLocalBuild = true; } mkdir -p $schema_dir - ${concatMapStringsSep "\n" (pkg: "cp -rf \"${glib.getSchemaPath pkg}\"/*.xml \"$schema_dir\"") gsettingsOverridePackages} + ${lib.concatMapStringsSep "\n" (pkg: "cp -rf \"${glib.getSchemaPath pkg}\"/*.xml \"$schema_dir\"") gsettingsOverridePackages} chmod -R a+w "$data_dir"