diff options
Diffstat (limited to 'package.nix')
| -rw-r--r-- | package.nix | 46 |
1 files changed, 22 insertions, 24 deletions
diff --git a/package.nix b/package.nix index bf35e060..8bd5d929 100644 --- a/package.nix +++ b/package.nix @@ -83,18 +83,17 @@ buildGoModule rec { # nix build environment does not allow acls env.GO_TEST_SKIP_ACL = 1; - buildInputs = - [ - libffi - libseccomp - acl - wayland - ] - ++ (with xorg; [ - libxcb - libXau - libXdmcp - ]); + buildInputs = [ + libffi + libseccomp + acl + wayland + ] + ++ (with xorg; [ + libxcb + libXau + libXdmcp + ]); nativeBuildInputs = [ pkg-config @@ -130,17 +129,16 @@ buildGoModule rec { } ''; - passthru.targetPkgs = - [ - go - gcc - xorg.xorgproto - util-linux + passthru.targetPkgs = [ + go + gcc + xorg.xorgproto + util-linux - # for go generate - wayland-protocols - wayland-scanner - ] - ++ buildInputs - ++ nativeBuildInputs; + # for go generate + wayland-protocols + wayland-scanner + ] + ++ buildInputs + ++ nativeBuildInputs; } |
