Skip to content

Commit

Permalink
chore(lib): adjust order
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Feb 20, 2024
1 parent 62edec1 commit 4ac6cf6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/omnibus/inputsToPaths.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ let
extractAttrsFromInputs =
inputs:
l.pipe inputs [
(l.filterAttrs (_: v: l.isAttrs v && (v ? sourceInfo.outPath || v ? outPath)))
(l.mapAttrs (_: v: v.sourceInfo.outPath or v.outPath or v.path))
(l.filterAttrs (
_: v: l.isAttrs v && (v ? sourceInfo.outPath || v ? outPath) && !v ? _type
))
(l.mapAttrs (_: v: v.outPath or v.path or v.sourceInfo.outPath))
(l.mapAttrs (
_: v: if lib.strings.isStorePath v then getTopLevelPath (toString v) else [ ]
))
Expand Down

0 comments on commit 4ac6cf6

Please sign in to comment.