Unverified Commit 3721c600 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

incus: move CGO_* env vars into env for structuredAttrs

parent a584495a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ buildGoModule (finalAttrs: {
  tags = [ "libsqlite3" ];

  # required for go-cowsql.
  CGO_LDFLAGS_ALLOW = "(-Wl,-wrap,pthread_create)|(-Wl,-z,now)";
  env.CGO_LDFLAGS_ALLOW = "(-Wl,-wrap,pthread_create)|(-Wl,-z,now)";

  # add our lxc location to incus's acceptable rootFsPaths
  # this is necessary for tmpfs/tmpfs-overlay to work