1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-05 00:59:04 +02:00

fix(nix): use stdenvNoCC

closes #4538

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker
2024-01-15 08:55:21 -03:00
parent 1b1261adec
commit 003a881503
23 changed files with 34 additions and 34 deletions

View File

@ -7,7 +7,7 @@ system ? builtins.currentSystem
, fetchurl , fetchurl
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, stdenv , stdenvNoCC
, fish , fish
, bash , bash
, ttyd , ttyd
@ -34,7 +34,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foo"; pname = "foo";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -7,7 +7,7 @@ system ? builtins.currentSystem
, fetchurl , fetchurl
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, stdenv , stdenvNoCC
, fish , fish
, bash , bash
, ttyd , ttyd
@ -34,7 +34,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foo"; pname = "foo";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -7,7 +7,7 @@ system ? builtins.currentSystem
, fetchurl , fetchurl
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, stdenv , stdenvNoCC
, fish , fish
, bash , bash
, ttyd , ttyd
@ -34,7 +34,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foo"; pname = "foo";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -7,7 +7,7 @@ system ? builtins.currentSystem
, fetchurl , fetchurl
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, stdenv , stdenvNoCC
, fish , fish
, bash , bash
, ttyd , ttyd
@ -34,7 +34,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foo"; pname = "foo";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -28,7 +28,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foo"; pname = "foo";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -28,7 +28,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foo"; pname = "foo";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -28,7 +28,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foo"; pname = "foo";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -28,7 +28,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foo"; pname = "foo";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -18,7 +18,7 @@ let
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz"; x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "partial"; pname = "partial";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -18,7 +18,7 @@ let
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz"; x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "partial"; pname = "partial";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -28,7 +28,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "doesnotmatter"; pname = "doesnotmatter";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -28,7 +28,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "doesnotmatter"; pname = "doesnotmatter";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -24,7 +24,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_all.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_all.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "unibin-replaces"; pname = "unibin-replaces";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -24,7 +24,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_all.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_all.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "unibin-replaces"; pname = "unibin-replaces";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -24,7 +24,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "wrapped-in-dir"; pname = "wrapped-in-dir";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -24,7 +24,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "wrapped-in-dir"; pname = "wrapped-in-dir";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -7,7 +7,7 @@ system ? builtins.currentSystem
, fetchurl , fetchurl
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, stdenv , stdenvNoCC
, unzip , unzip
}: }:
let let
@ -23,7 +23,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.zip"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.zip";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foozip"; pname = "foozip";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -7,7 +7,7 @@ system ? builtins.currentSystem
, fetchurl , fetchurl
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, stdenv , stdenvNoCC
, unzip , unzip
}: }:
let let
@ -23,7 +23,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.zip"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.zip";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foozip"; pname = "foozip";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -7,7 +7,7 @@ system ? builtins.currentSystem
, fetchurl , fetchurl
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, stdenv , stdenvNoCC
, git , git
, unzip , unzip
}: }:
@ -28,7 +28,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.zip"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.zip";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foozip"; pname = "foozip";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -7,7 +7,7 @@ system ? builtins.currentSystem
, fetchurl , fetchurl
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, stdenv , stdenvNoCC
, git , git
, unzip , unzip
}: }:
@ -28,7 +28,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.zip"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.zip";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foozip"; pname = "foozip";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -7,7 +7,7 @@ system ? builtins.currentSystem
, fetchurl , fetchurl
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, stdenv , stdenvNoCC
, unzip , unzip
}: }:
let let
@ -27,7 +27,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.zip"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.zip";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foozip"; pname = "foozip";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -7,7 +7,7 @@ system ? builtins.currentSystem
, fetchurl , fetchurl
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, stdenv , stdenvNoCC
, unzip , unzip
}: }:
let let
@ -27,7 +27,7 @@ let
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.zip"; aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.zip";
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "foozip"; pname = "foozip";
version = "1.2.1"; version = "1.2.1";
src = fetchurl { src = fetchurl {

View File

@ -8,7 +8,7 @@ system ? builtins.currentSystem
, installShellFiles , installShellFiles
{{- if .Dependencies }} {{- if .Dependencies }}
, makeWrapper , makeWrapper
, stdenv , stdenvNoCC
{{- end -}} {{- end -}}
{{- range $index, $element := .Dependencies }} {{- range $index, $element := .Dependencies }}
, {{ . -}} , {{ . -}}
@ -63,7 +63,7 @@ let
{{- end }} {{- end }}
}; };
in in
pkgs.stdenv.mkDerivation { pkgs.stdenvNoCC.mkDerivation {
pname = "{{ .Name }}"; pname = "{{ .Name }}";
version = "{{ .Version }}"; version = "{{ .Version }}";
src = fetchurl { src = fetchurl {