Last active
June 6, 2018 18:01
-
-
Save btbytes/b06ebe922ab3b65a1de6e9ac1af1c661 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchurl, rustPlatform, darwin }: | |
with rustPlatform; | |
buildRustPackage rec { | |
name = "pijul-${version}"; | |
version = "0.10.0"; | |
src = fetchurl { | |
url = "https://pijul.org/releases/${name}.tar.gz"; | |
sha256 = "1lkipcp83rfsj9yqddvb46dmqdf2ch9njwvjv8f3g91rmfjcngys"; | |
}; | |
sourceRoot = "${name}"; | |
buildInputs = stdenv.lib.optionals stdenv.isDarwin | |
(with darwin.apple_sdk.frameworks; [ Security ]); | |
doCheck = false; | |
cargoSha256 = "1419mlxa4p53hm5qzfd1yi2k0n1bcv8kaslls1nyx661vknhfamw"; | |
meta = with stdenv.lib; { | |
description = "A distributed version control system"; | |
homepage = https://pijul.org; | |
license = with licenses; [ gpl2Plus ]; | |
maintainers = [ maintainers.gal_bolle ]; | |
platforms = platforms.all; | |
}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nix-build -A pijul -I nixpkgs=/home/pgowda/nixpkgs/ | |
these derivations will be built: | |
/nix/store/5xlhfafvwx7kndid9k8ys6y86yi0r898-pijul-0.10.0.drv | |
building '/nix/store/5xlhfafvwx7kndid9k8ys6y86yi0r898-pijul-0.10.0.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/3s6vdyzkly0mzhgbg2xq08n6mqrzgf2z-pijul-0.10.0.tar.gz | |
source root is pijul-0.10.0 | |
unpacking source archive /nix/store/j36ha3n1ppvkfcksv3f978wanxvqnir3-pijul-0.10.0-vendor | |
patching sources | |
configuring | |
building | |
Running cargo build --release | |
error: the lock file needs to be updated but --frozen was passed to prevent this | |
builder for '/nix/store/5xlhfafvwx7kndid9k8ys6y86yi0r898-pijul-0.10.0.drv' failed with exit code 101 | |
error: build of '/nix/store/5xlhfafvwx7kndid9k8ys6y86yi0r898-pijul-0.10.0.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment