diff options
author | Bobby Rong <rjl931189261@126.com> | 2024-03-24 20:23:04 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2024-03-24 20:23:04 +0800 |
commit | 7fb812afbff2df569ecaf7e92cd39524862a6927 (patch) | |
tree | d4a29f5fd0a48f96b7a8dfcbc1e2a6b93bbfa853 /pkgs/desktops/xfce | |
parent | dea81c90bd8b3265294d3ce6b3b830d3f00c1355 (diff) |
xfce.automakeAddFlags: Drop
Not used in Nixpkgs.
Diffstat (limited to 'pkgs/desktops/xfce')
-rw-r--r-- | pkgs/desktops/xfce/automakeAddFlags.sh | 7 | ||||
-rw-r--r-- | pkgs/desktops/xfce/default.nix | 6 |
2 files changed, 2 insertions, 11 deletions
diff --git a/pkgs/desktops/xfce/automakeAddFlags.sh b/pkgs/desktops/xfce/automakeAddFlags.sh deleted file mode 100644 index 92d5659d05ca7..0000000000000 --- a/pkgs/desktops/xfce/automakeAddFlags.sh +++ /dev/null @@ -1,7 +0,0 @@ -automakeAddFlags() { - local file="$1" - local target="$2" - local source="$3" - - sed "/$target/a\$($source) \\\\" -i $file -} diff --git a/pkgs/desktops/xfce/default.nix b/pkgs/desktops/xfce/default.nix index f0c53a4c38922..a1416426a32a1 100644 --- a/pkgs/desktops/xfce/default.nix +++ b/pkgs/desktops/xfce/default.nix @@ -18,10 +18,6 @@ makeScopeWithSplicing' { mkXfceDerivation = callPackage ./mkXfceDerivation.nix { }; - automakeAddFlags = pkgs.makeSetupHook { - name = "xfce-automake-add-flags-hook"; - } ./automakeAddFlags.sh; - #### CORE exo = callPackage ./core/exo { }; @@ -169,6 +165,8 @@ makeScopeWithSplicing' { } // lib.optionalAttrs config.allowAliases { #### ALIASES + automakeAddFlags = throw "xfce.automakeAddFlags has been removed: this setup-hook is no longer used in Nixpkgs"; # added 2024-03-24 + xinitrc = self.xfce4-session.xinitrc; # added 2019-11-04 thunar-bare = self.thunar.override { thunarPlugins = [ ]; }; # added 2019-11-04 |