aboutsummaryrefslogtreecommitdiff
path: root/virtual
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-05 17:40:51 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-05 17:40:51 +0100
commitc5aaa64a9b1b389f10e2885fc4106c2b7926109d (patch)
tree16e68a53f6daedcc3427008285c85419ff41fcb5 /virtual
parentb7cd7e4b3eae30b588c6e3a75e5a658f09ca8269 (diff)
downloadNix-c5aaa64a9b1b389f10e2885fc4106c2b7926109d.tar.gz
Nix-c5aaa64a9b1b389f10e2885fc4106c2b7926109d.tar.zst
Nix-c5aaa64a9b1b389f10e2885fc4106c2b7926109d.zip
Override attributes for gitolite to get same environment
Diffstat (limited to 'virtual')
-rw-r--r--virtual/eldiron.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/virtual/eldiron.nix b/virtual/eldiron.nix
index d88dd93..71ff57d 100644
--- a/virtual/eldiron.nix
+++ b/virtual/eldiron.nix
@@ -13,7 +13,16 @@
13 in 13 in
14 { 14 {
15 nixpkgs.config.packageOverrides = oldpkgs: rec { 15 nixpkgs.config.packageOverrides = oldpkgs: rec {
16 gitolite = nixpkgs_unstable.gitolite; 16 gitolite = oldpkgs.gitolite.overrideAttrs(old: rec {
17 name = "gitolite-${version}";
18 version = "3.6.10";
19 src = pkgs.fetchFromGitHub {
20 owner = "sitaramc";
21 repo = "gitolite";
22 rev = "v${version}";
23 sha256 = "0p2697mn6rwm03ndlv7q137zczai82n41aplq1g006ii7f12xy8h";
24 };
25 });
17 gitweb = oldpkgs.gitweb.overrideAttrs(old: { 26 gitweb = oldpkgs.gitweb.overrideAttrs(old: {
18 installPhase = old.installPhase + '' 27 installPhase = old.installPhase + ''
19 cp -r ${./packages/gitweb} $out/gitweb-theme; 28 cp -r ${./packages/gitweb} $out/gitweb-theme;