Unverified Commit 6f64c3e5 authored by jaen's avatar jaen Committed by GitHub
Browse files

yq-go: fix cross-compilation

Using `lib.optionalAttrs` returned wrong attribute type (`{}` vs. expected `[]`) when cross-compiling, breaking the package.
parent 480f847d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ buildGoModule (finalAttrs: {

  vendorHash = "sha256-p+7dD3NVXg3XZowIgDaGs1MSaxXY5OPLmnw44p4m4A4=";

  nativeBuildInputs = lib.optionalAttrs (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
  nativeBuildInputs = lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
    installShellFiles
    pandoc
  ];