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
|
(define profile.nix
|
||||||
(computed-file "profile.nix"
|
(computed-file "profile.nix"
|
||||||
#~(begin
|
#~(begin
|
||||||
(use-modules (ice-9 format))
|
(use-modules (ice-9 format)
|
||||||
|
(srfi srfi-1))
|
||||||
(call-with-output-file #$output
|
(call-with-output-file #$output
|
||||||
(lambda (port)
|
(lambda (port)
|
||||||
(format port "\
|
(format port "\
|
||||||
@@ -192,7 +193,7 @@ in
|
|||||||
}
|
}
|
||||||
"
|
"
|
||||||
#$nixpkgs-commit
|
#$nixpkgs-commit
|
||||||
(list #$@expressions)
|
(delete-duplicates (list #$@expressions) string=?)
|
||||||
'#$extra-outputs-to-install
|
'#$extra-outputs-to-install
|
||||||
'#$paths-to-exclude))))
|
'#$paths-to-exclude))))
|
||||||
#:options '(#:substitutable? #f)))
|
#:options '(#:substitutable? #f)))
|
||||||
|
|||||||
Reference in new issue
Block a user