File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 110
110
musl = self . packages . ${ system } . patchelf-musl ;
111
111
} ) ;
112
112
113
- packages = forAllSystems ( system : {
114
- patchelf = patchelfFor nixpkgs . legacyPackages . ${ system } ;
113
+ packages = forAllSystems ( system : let
114
+ pkgs = nixpkgs . legacyPackages . ${ system } ;
115
+ in {
116
+ patchelf = patchelfFor pkgs ;
115
117
default = self . packages . ${ system } . patchelf ;
116
118
117
119
# This is a good test to see if packages can be cross-compiled. It also
118
120
# tests if our testsuite uses target-prefixed executable names.
119
- patchelf-musl-cross = patchelfFor nixpkgs . legacyPackages . ${ system } . pkgsCross . musl64 ;
121
+ patchelf-musl-cross = patchelfFor pkgs . pkgsCross . musl64 ;
122
+ patchelf-netbsd-cross = patchelfFor pkgs . pkgsCross . x86_64-netbsd ;
120
123
121
124
patchelf-win32 = ( patchelfFor ( pkgsCrossForMingw system ) . mingw32 ) . overrideAttrs ( old : {
122
125
NIX_CFLAGS_COMPILE = "-static" ;
You can’t perform that action at this time.
0 commit comments