-
Notifications
You must be signed in to change notification settings - Fork 3
/
override.nix
63 lines (55 loc) · 1.84 KB
/
override.nix
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# This overlay provides some overrides/fixes for various packages
final: prev:
let
inherit (final.stdenv) isDarwin;
zitadel_pr = import
(builtins.fetchTarball {
url = "https://github.com/jpetrucciani/nixpkgs/archive/535a908c603f65a6ceed636221a3148465cfb716.tar.gz";
sha256 = "13jgyc0b9l6j80dzsk1bwia4vsyh7q7kwxjl5fv402gypycij275";
})
{ system = "x86_64-linux"; };
in
{
inherit (zitadel_pr) zitadel;
# fix for getting yank working on darwin
yank = prev.yank.overrideAttrs (attrs: {
makeFlags = if isDarwin then [ "YANKCMD=/usr/bin/pbcopy" ] else attrs.makeFlags;
});
# fix for python3Packages.ray
py-spy = prev.py-spy.overrideAttrs (old: {
doCheck = false;
});
_std = (import ../flake-compat.nix).inputs.nix-std.lib;
sssd = prev.sssd.override { python3 = final.python311; };
# lock down terraform 1.5.5 as the final open source version
terraform_1-5-5_src = import
(builtins.fetchGit {
name = "terraform-1.5.5";
url = "https://github.com/NixOS/nixpkgs/";
ref = "refs/heads/nixpkgs-unstable";
rev = "976fa3369d722e76f37c77493d99829540d43845";
})
{ inherit (final) system; };
questdb = prev.questdb.overrideAttrs (old: {
preInstall = ''
mkdir -p $out/bin
echo -e '#!/usr/bin/env bash\nexport JAVA_MAIN="io.questdb/io.questdb.ServerMain"' >$out/bin/env.sh
echo -e '#!/usr/bin/env bash\necho hello' >$out/bin/print-hello.sh
chmod +x $out/bin/env.sh
chmod +x $out/bin/print-hello.sh
'';
});
distcc_34 =
let
version = "2021-05-11";
in
prev.distcc.overrideAttrs (old: {
inherit version;
src = final.fetchFromGitHub {
owner = "distcc";
repo = "distcc";
rev = "50d821efe99cae82c05be0a4ab3b4035ef0d3883";
hash = "sha256-S3EHJ8s+bYWBmOfKP5ErNSa+UIalIK82MgKhWvPnwFo=";
};
});
}