tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
treewide: remove autoPatchelfHook from dotnet packages
David McFarland
2 years ago
57d6e5bd
bd934093
+2
-27
7 changed files
expand all
collapse all
unified
split
pkgs
applications
audio
galaxy-buds-client
default.nix
blockchains
wasabibackend
default.nix
misc
avalonia-ilspy
default.nix
development
compilers
inklecate
default.nix
tools
continuous-integration
github-runner
default.nix
tools
games
opentracker
default.nix
networking
mqttmultimeter
default.nix
-2
pkgs/applications/audio/galaxy-buds-client/default.nix
···
2
2
, stdenv
3
3
, buildDotnetModule
4
4
, fetchFromGitHub
5
5
-
, autoPatchelfHook
6
5
, fontconfig
7
6
, xorg
8
7
, libglvnd
···
27
26
dotnetFlags = [ "-p:Runtimeidentifier=linux-x64" ];
28
27
29
28
nativeBuildInputs = [
30
30
-
autoPatchelfHook
31
29
copyDesktopItems
32
30
graphicsmagick
33
31
];
-2
pkgs/applications/blockchains/wasabibackend/default.nix
···
4
4
fetchFromGitHub,
5
5
buildDotnetModule,
6
6
dotnetCorePackages,
7
7
-
autoPatchelfHook,
8
7
zlib,
9
8
openssl,
10
9
}:
···
25
24
dotnet-sdk = dotnetCorePackages.sdk_7_0;
26
25
dotnet-runtime = dotnetCorePackages.aspnetcore_7_0;
27
26
28
28
-
nativeBuildInputs = [autoPatchelfHook];
29
27
buildInputs = [stdenv.cc.cc.lib zlib];
30
28
31
29
runtimeDeps = [openssl zlib];
+1
-3
pkgs/applications/misc/avalonia-ilspy/default.nix
···
15
15
, makeDesktopItem
16
16
, copyDesktopItems
17
17
, icoutils
18
18
-
, autoPatchelfHook
19
18
, bintools
20
19
, fixDarwinDylibNames
21
20
, autoSignDarwinBinariesHook
···
40
39
nativeBuildInputs = [
41
40
copyDesktopItems
42
41
icoutils
43
43
-
] ++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ]
44
44
-
++ lib.optionals stdenv.hostPlatform.isDarwin [ bintools fixDarwinDylibNames ]
42
42
+
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ bintools fixDarwinDylibNames ]
45
43
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ autoSignDarwinBinariesHook ];
46
44
47
45
buildInputs = [
-2
pkgs/development/compilers/inklecate/default.nix
···
1
1
{ lib
2
2
, stdenv
3
3
-
, autoPatchelfHook
4
3
, buildDotnetModule
5
4
, dotnetCorePackages
6
5
, fetchFromGitHub
···
17
16
hash = "sha512-aUjjT5Qf64wrKRn1vkwJadMOBWMkvsXUjtZ7S3/ZWAh1CCDkQNO84mSbtbVc9ny0fKeJEqaDX2tJNwq7pYqAbA==";
18
17
};
19
18
20
20
-
nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
21
19
buildInputs = [ stdenv.cc.cc.lib ];
22
20
23
21
projectFile = "inklecate/inklecate.csproj";
+1
-4
pkgs/development/tools/continuous-integration/github-runner/default.nix
···
1
1
-
{ autoPatchelfHook
2
2
-
, autoSignDarwinBinariesHook
1
1
+
{ autoSignDarwinBinariesHook
3
2
, buildDotnetModule
4
3
, dotnetCorePackages
5
4
, fetchFromGitHub
···
114
113
nativeBuildInputs = [
115
114
which
116
115
git
117
117
-
] ++ lib.optionals stdenv.isLinux [
118
118
-
autoPatchelfHook
119
116
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
120
117
autoSignDarwinBinariesHook
121
118
];
-8
pkgs/tools/games/opentracker/default.nix
···
3
3
stdenv,
4
4
buildDotnetModule,
5
5
fetchFromGitHub,
6
6
-
autoPatchelfHook,
7
6
wrapGAppsHook,
8
7
dotnetCorePackages,
9
8
fontconfig,
···
40
39
];
41
40
42
41
nativeBuildInputs = [
43
43
-
autoPatchelfHook
44
42
wrapGAppsHook
45
43
];
46
44
···
63
61
libX11
64
62
libXi
65
63
]);
66
66
-
67
67
-
# Attempts to patchelf unneeded SOs
68
68
-
autoPatchelfIgnoreMissingDeps = [
69
69
-
"libc.musl-x86_64.so.1"
70
70
-
"libintl.so.8"
71
71
-
];
72
64
73
65
meta = with lib; {
74
66
description = "A tracking application for A Link to the Past Randomizer";
-6
pkgs/tools/networking/mqttmultimeter/default.nix
···
4
4
, dotnet-runtime_8
5
5
, buildDotnetModule
6
6
, fetchFromGitHub
7
7
-
, autoPatchelfHook
8
7
, fontconfig
9
8
, xorg
10
9
, libglvnd
11
10
, makeDesktopItem
12
11
, copyDesktopItems
13
12
}:
14
14
-
15
15
-
# NOTES:
16
16
-
# 1. we need autoPatchelfHook for quite a number of things in $out/lib
17
13
18
14
buildDotnetModule rec {
19
15
pname = "mqttmultimeter";
···
35
31
executables = [ "mqttMultimeter" ];
36
32
37
33
nativeBuildInputs = [
38
38
-
autoPatchelfHook
39
34
copyDesktopItems
40
35
];
41
36
42
37
buildInputs = [ stdenv.cc.cc.lib fontconfig ];
43
38
44
44
-
# don't care about musl and windows versions, as they fail autoPatchelfHook
45
39
postInstall = ''
46
40
rm -rf $out/lib/${lib.toLower pname}/runtimes/{*musl*,win*}
47
41
'';