tv pkgs: import override last

This commit is contained in:
tv 2022-03-05 09:53:21 +01:00
parent 09fa6fbad6
commit 5aff05de1b
1 changed files with 9 additions and 1 deletions

View File

@ -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 ./.))))))
//