mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-11-29 22:58:06 +00:00
util: nix-expressions->profile-build-wrapper: Deduplicate expressions list.
This commit is contained in:
1 file changed
+3
-2
@@ -165,7 +165,8 @@ specifies the Nix binary to use."
|
||||
(define profile.nix
|
||||
(computed-file "profile.nix"
|
||||
#~(begin
|
||||
(use-modules (ice-9 format))
|
||||
(use-modules (ice-9 format)
|
||||
(srfi srfi-1))
|
||||
(call-with-output-file #$output
|
||||
(lambda (port)
|
||||
(format port "\
|
||||
@@ -192,7 +193,7 @@ in
|
||||
}
|
||||
"
|
||||
#$nixpkgs-commit
|
||||
(list #$@expressions)
|
||||
(delete-duplicates (list #$@expressions) string=?)
|
||||
'#$extra-outputs-to-install
|
||||
'#$paths-to-exclude))))
|
||||
#:options '(#:substitutable? #f)))
|
||||
|
||||
Reference in new issue
Block a user