-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoverlay.nix
48 lines (43 loc) · 1.57 KB
/
overlay.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
inputs: final: prev:
{
inherit (inputs.attic.overlays.default final prev) attic attic-client attic-server;
inherit (inputs) nginxBlacklist;
carapace = prev.carapace.overrideAttrs {
src = inputs.carapace;
vendorHash = "sha256-y9eBiANwCxoN4zZ80fjhEdy9ejJKrfABAsgUHttd/eQ=";
};
cinny-desktop = prev.cinny-desktop.overrideAttrs {
postPatch = let
inherit (final) pkgs lib;
cinny' = assert lib.assertMsg (
pkgs.cinny.version == prev.cinny-desktop.version
) "cinny.version (${pkgs.cinny.version}) != cinny-desktop.version (${prev.cinny-desktop.version})";
pkgs.cinny.override {
conf = {
hashRouter.enabled = true;
};
};
in ''
substituteInPlace tauri.conf.json \
--replace-fail '"distDir": "../cinny/dist",' '"distDir": "${cinny'}",'
substituteInPlace tauri.conf.json \
--replace-fail '"cd cinny && npm run build"' '""'
'';
};
heisenbridge = prev.heisenbridge.overridePythonAttrs (oldAttrs: rec {
version = "1.15.0";
src = final.fetchFromGitHub {
owner = "hifi";
repo = oldAttrs.pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-4K6Sffu/yKHkcoNENbgpci2dbJVAH3vVkogcw/IYpnw=";
};
});
nixt = prev.nixt.override {nix = final.nixVersions.nix_2_24;};
nixd = prev.nixd.override {nix = final.nixVersions.nix_2_24;};
freshrssExts = final.lib.attrsets.recurseIntoAttrs (final.callPackage ./legacyPackages/freshrss {});
}
// prev.lib.filesystem.packagesFromDirectoryRecursive {
inherit (final) callPackage;
directory = ./packages;
}