Skip to content

Instantly share code, notes, and snippets.

@TomHoenderdos
Last active December 22, 2015 03:58
Show Gist options
  • Save TomHoenderdos/6413625 to your computer and use it in GitHub Desktop.
Save TomHoenderdos/6413625 to your computer and use it in GitHub Desktop.
[nix@nixos:~/nixpkgs]$ sudo nix-build -A jenkins
these derivations will be built:
/nix/store/f6zz59hasm15q9lgqslmg53446h5swrd-Jenkins-1.529.drv
building path(s) `/nix/store/nm4f4dqah8w1b7arfxgl2rm86vkbr1jn-Jenkins-1.529'
building /nix/store/nm4f4dqah8w1b7arfxgl2rm86vkbr1jn-Jenkins-1.529
unpacking sources
unpacking source archive /nix/store/6vqz3ax4pjy5dgy0bhmxaxmbwrcx88i8-jenkins.war
source archive /nix/store/6vqz3ax4pjy5dgy0bhmxaxmbwrcx88i8-jenkins.war has unknown type
builder for `/nix/store/f6zz59hasm15q9lgqslmg53446h5swrd-Jenkins-1.529.drv' failed with exit code 1
error: build of `/nix/store/f6zz59hasm15q9lgqslmg53446h5swrd-Jenkins-1.529.drv' failed
--
default.nix:
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "Jenkins-1.529";
src = fetchurl {
url = http://mirrors.jenkins-ci.org/war/1.529/jenkins.war;
sha256 = "1qhklrizxgp5iccqqyv2xn46mc4y5jm8c61fg99350kl1vsbp845";
};
phases = ["installPhase"];
installPhase = ''
ls
#mv -v $src $out
'';
meta = {
homepage = "http://";
description = "Jenkins CI, An extendable open source continuous integration server.";
license = "Creative Commons Attribution 3.0 Unported";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment