tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
urserver: use finalAttrs instead of rec
Stefan Frijters
2 years ago
ce845d58
ad594b45
+4
-4
1 changed file
expand all
collapse all
unified
split
pkgs
servers
urserver
default.nix
+4
-4
pkgs/servers/urserver/default.nix
···
7
7
, makeWrapper
8
8
}:
9
9
10
10
-
stdenv.mkDerivation rec {
10
10
+
stdenv.mkDerivation (finalAttrs: {
11
11
pname = "urserver";
12
12
version = "3.13.0.2505";
13
13
14
14
src = fetchurl {
15
15
-
url = "https://www.unifiedremote.com/static/builds/server/linux-x64/${builtins.elemAt (builtins.splitVersion version) 3}/urserver-${version}.tar.gz";
15
15
+
url = "https://www.unifiedremote.com/static/builds/server/linux-x64/${builtins.elemAt (builtins.splitVersion finalAttrs.version) 3}/urserver-${finalAttrs.version}.tar.gz";
16
16
hash = "sha256-rklv6Ppha1HhEPunbL8ELYdQ9Z1FN4FrVsNwny3/gA4=";
17
17
};
18
18
···
30
30
31
31
installPhase = ''
32
32
install -m755 -D urserver $out/bin/urserver
33
33
-
wrapProgram $out/bin/urserver --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}"
33
33
+
wrapProgram $out/bin/urserver --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}"
34
34
cp -r remotes $out/bin/remotes
35
35
cp -r manager $out/bin/manager
36
36
'';
···
43
43
maintainers = with maintainers; [ sfrijters ];
44
44
platforms = [ "x86_64-linux" ];
45
45
};
46
46
-
}
46
46
+
})