diff options
author | tv <tv@krebsco.de> | 2022-03-05 09:53:21 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-03-05 11:09:30 +0100 |
commit | 49b17ef89e9daf0748fe8b1f544e3c4cad43aa25 (patch) | |
tree | 3ee225d1c8cc1771273d7295c7088fc5c8ec144c /tv/5pkgs | |
parent | b6d96d3fcfce800ff01180bd5298f13b810eff0c (diff) |
tv pkgs: import override last
Diffstat (limited to 'tv/5pkgs')
-rw-r--r-- | tv/5pkgs/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tv/5pkgs/default.nix b/tv/5pkgs/default.nix index 9e9a3a9..ea860c7 100644 --- a/tv/5pkgs/default.nix +++ b/tv/5pkgs/default.nix @@ -1,4 +1,11 @@ with import <stockholm/lib>; +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 ./.)))))) // |