diff options
author | Silvan Mosberger <infinisil@icloud.com> | 2018-06-09 02:10:22 +0200 |
---|---|---|
committer | Silvan Mosberger <infinisil@icloud.com> | 2018-06-14 22:28:55 +0200 |
commit | 02f11bca6095f54dea504a390906b33a033dae05 (patch) | |
tree | 7878cd1e08cf8b63cff6eeed16ec0814590db5ce /pkgs/applications/window-managers | |
parent | a7e9fabd7b3d11dd19b10f77599b66a4be74a523 (diff) |
some overrideDerivation cleanups
These four top-level packages were the only ones that didn't have the meta.position attribute automagically set. This commit fixes this.
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r-- | pkgs/applications/window-managers/i3/gaps.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/applications/window-managers/i3/gaps.nix b/pkgs/applications/window-managers/i3/gaps.nix index d6668cde2bdcc..251b893f92ffe 100644 --- a/pkgs/applications/window-managers/i3/gaps.nix +++ b/pkgs/applications/window-managers/i3/gaps.nix @@ -1,6 +1,6 @@ { fetchurl, stdenv, i3, autoreconfHook }: -i3.overrideDerivation (super : rec { +i3.overrideAttrs (oldAttrs : rec { name = "i3-gaps-${version}"; version = "4.15.0.1"; @@ -11,7 +11,7 @@ i3.overrideDerivation (super : rec { sha256 = "16s6bink8yj3zix4vww64b745d5drf2vqjg8vz3pwzrark09hfal"; }; - nativeBuildInputs = super.nativeBuildInputs ++ [ autoreconfHook ]; + nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ autoreconfHook ]; postUnpack = '' echo -n "${version} (${releaseDate})" > ./i3-${version}/I3_VERSION @@ -19,7 +19,6 @@ i3.overrideDerivation (super : rec { # fatal error: GENERATED_config_enums.h: No such file or directory enableParallelBuilding = false; -}) // { meta = with stdenv.lib; { description = "A fork of the i3 tiling window manager with some additional features"; @@ -36,5 +35,4 @@ i3.overrideDerivation (super : rec { Configured via plain text file. Multi-monitor. UTF-8 clean. ''; }; - -} +}) |