blob: 1f477f7f9aea09a3fa7989960b429a024cdd5991 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
lib,
mkKdeDerivation,
replaceVars,
openssl,
pam,
pkg-config,
qtwayland,
freerdp,
}:
mkKdeDerivation {
pname = "krdp";
patches = [
(replaceVars ./hardcode-openssl-path.patch {
openssl = lib.getExe openssl;
})
];
extraNativeBuildInputs = [ pkg-config ];
extraBuildInputs = [
qtwayland
freerdp
pam
];
# Hardcoded as QString, which is UTF-16 so Nix can't pick it up automatically
postFixup = ''
mkdir -p $out/nix-support
echo "${lib.getExe openssl}" > $out/nix-support/depends
'';
}
|