diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-26 13:52:30 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-26 13:57:04 +0200 |
commit | 676e68e3394eeb07a02745d1cf191db9fee9e610 (patch) | |
tree | 973c57072eb9b784adab83fab8748d05a7ffc9c3 /overlays/goaccess | |
parent | 98de2045a749b25d031b174c940096b4f5406b9d (diff) | |
download | Nix-676e68e3394eeb07a02745d1cf191db9fee9e610.tar.gz Nix-676e68e3394eeb07a02745d1cf191db9fee9e610.tar.zst Nix-676e68e3394eeb07a02745d1cf191db9fee9e610.zip |
Use overlays for package overrides
Diffstat (limited to 'overlays/goaccess')
-rw-r--r-- | overlays/goaccess/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/overlays/goaccess/default.nix b/overlays/goaccess/default.nix new file mode 100644 index 0000000..12b28f3 --- /dev/null +++ b/overlays/goaccess/default.nix | |||
@@ -0,0 +1,13 @@ | |||
1 | self: super: { | ||
2 | goaccess = super.goaccess.overrideAttrs(old: rec { | ||
3 | name = "goaccess-${version}"; | ||
4 | version = "1.3"; | ||
5 | src = self.fetchurl { | ||
6 | url = "https://tar.goaccess.io/${name}.tar.gz"; | ||
7 | sha256 = "16vv3pj7pbraq173wlxa89jjsd279004j4kgzlrsk1dz4if5qxwc"; | ||
8 | }; | ||
9 | configureFlags = old.configureFlags ++ [ "--enable-tcb=btree" ]; | ||
10 | buildInputs = old.buildInputs ++ [ self.tokyocabinet self.bzip2 ]; | ||
11 | }); | ||
12 | |||
13 | } | ||