From 5aff05de1b6130d45b7cd52cd18aab511de112a7 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 5 Mar 2022 09:53:21 +0100 Subject: tv pkgs: import override last --- tv/5pkgs/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tv') diff --git a/tv/5pkgs/default.nix b/tv/5pkgs/default.nix index 9e9a3a9b8..ea860c7d2 100644 --- a/tv/5pkgs/default.nix +++ b/tv/5pkgs/default.nix @@ -1,4 +1,11 @@ with import ; +let + pushBack = x: xs: + if elem x xs then + remove x xs ++ [ x ] + else + names; +in self: super: @@ -9,7 +16,8 @@ fix (name: import (./. + "/${name}")) (filter (name: name != "default.nix" && !hasPrefix "." name) - (attrNames (readDir ./.))))) + (pushBack "override" + (attrNames (readDir ./.)))))) // -- cgit v1.2.3