1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix(nix): prevent importing makeWrapper when it's not needed

refs 7f95ff0a9af4c54644446788239cb8350d1b4b6a

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2024-01-27 09:12:55 -03:00
parent 7f95ff0a9a
commit da30c39ccb
No known key found for this signature in database
12 changed files with 7 additions and 13 deletions

View File

@ -258,6 +258,7 @@ func preparePkg(
dependencies := depNames(nix.Dependencies)
if len(dependencies) > 0 {
inputs = append(inputs, "makeWrapper")
dependencies = append(dependencies, "makeWrapper")
}
for _, arch := range archives {
if arch.Format() == "zip" {

View File

@ -5,12 +5,12 @@ system ? builtins.currentSystem
, lib
, fetchurl
, installShellFiles
, makeWrapper
, stdenvNoCC
, fish
, bash
, ttyd
, chromium
, makeWrapper
}:
let
shaMap = {

View File

@ -5,12 +5,12 @@ system ? builtins.currentSystem
, lib
, fetchurl
, installShellFiles
, makeWrapper
, stdenvNoCC
, fish
, bash
, ttyd
, chromium
, makeWrapper
}:
let
shaMap = {

View File

@ -5,12 +5,12 @@ system ? builtins.currentSystem
, lib
, fetchurl
, installShellFiles
, makeWrapper
, stdenvNoCC
, fish
, bash
, ttyd
, chromium
, makeWrapper
}:
let
shaMap = {

View File

@ -5,12 +5,12 @@ system ? builtins.currentSystem
, lib
, fetchurl
, installShellFiles
, makeWrapper
, stdenvNoCC
, fish
, bash
, ttyd
, chromium
, makeWrapper
}:
let
shaMap = {

View File

@ -5,7 +5,6 @@ system ? builtins.currentSystem
, lib
, fetchurl
, installShellFiles
, makeWrapper
, stdenvNoCC
, unzip
}:

View File

@ -5,7 +5,6 @@ system ? builtins.currentSystem
, lib
, fetchurl
, installShellFiles
, makeWrapper
, stdenvNoCC
, unzip
}:

View File

@ -5,9 +5,9 @@ system ? builtins.currentSystem
, lib
, fetchurl
, installShellFiles
, makeWrapper
, stdenvNoCC
, git
, makeWrapper
, unzip
}:
let

View File

@ -5,9 +5,9 @@ system ? builtins.currentSystem
, lib
, fetchurl
, installShellFiles
, makeWrapper
, stdenvNoCC
, git
, makeWrapper
, unzip
}:
let

View File

@ -5,7 +5,6 @@ system ? builtins.currentSystem
, lib
, fetchurl
, installShellFiles
, makeWrapper
, stdenvNoCC
, unzip
}:

View File

@ -5,7 +5,6 @@ system ? builtins.currentSystem
, lib
, fetchurl
, installShellFiles
, makeWrapper
, stdenvNoCC
, unzip
}:

View File

@ -5,9 +5,6 @@ system ? builtins.currentSystem
, lib
, fetchurl
, installShellFiles
{{- if .Dependencies }}
, makeWrapper
{{- end }}
, stdenvNoCC
{{- range $index, $element := .Dependencies }}
, {{ . -}}