summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-03-05 10:05:06 +0100
committertv <tv@krebsco.de>2022-03-05 11:09:30 +0100
commit63654bf03a7ec1d97828b196369249ec8fb742f9 (patch)
tree54e14880739751c8fa71020aced0893b31cb8195 /tv
parent066dba941a7b6eebe34290a0973acddf60239896 (diff)
tv pkgs: move dhcpcd to override
Diffstat (limited to 'tv')
-rw-r--r--tv/5pkgs/default.nix6
-rw-r--r--tv/5pkgs/override/dhcpcd.nix7
2 files changed, 7 insertions, 6 deletions
diff --git a/tv/5pkgs/default.nix b/tv/5pkgs/default.nix
index d1b73dbb2..e2575300e 100644
--- a/tv/5pkgs/default.nix
+++ b/tv/5pkgs/default.nix
@@ -22,12 +22,6 @@ fix
//
{
- dhcpcd = overrideDerivation super.dhcpcd (old: {
- configureFlags = old.configureFlags ++ [
- "--dbdir=/var/lib/dhcpcd"
- ];
- });
-
gitAndTools = super.gitAndTools // {
inherit (self) diff-so-fancy;
};
diff --git a/tv/5pkgs/override/dhcpcd.nix b/tv/5pkgs/override/dhcpcd.nix
new file mode 100644
index 000000000..202b8e5da
--- /dev/null
+++ b/tv/5pkgs/override/dhcpcd.nix
@@ -0,0 +1,7 @@
+self: super:
+
+self.lib.overrideDerivation super.dhcpcd (old: {
+ configureFlags = old.configureFlags ++ [
+ "--dbdir=/var/lib/dhcpcd"
+ ];
+})