Created
December 13, 2015 10:22
-
-
Save globin/920c860fcf9c7e1d6c52 to your computer and use it in GitHub Desktop.
pinned-nix-shell
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
let | |
fetchgit = (import <nixpkgs> {}).fetchgit; | |
in | |
with import (fetchgit { | |
rev = "0acc1cd552dc4b4d8065cc16a484697167f6e45e"; | |
url = "git://github.com/mayflower/nixpkgs"; | |
sha256 = "1chb14vfzwyv6y2l3i4zgdydfymi0znsv9bhppdazf6r3fsf6w9j"; | |
}) {}; { | |
duck = rustCargoPlatform.buildRustPackage { | |
name = "duck"; | |
src = ./.; | |
buildInputs = [ | |
openssl | |
cmake | |
zlibStatic | |
pkgconfig | |
libgit2 | |
libssh2 | |
file | |
]; | |
preBuild="export LIBGIT2_SYS_USE_PKG_CONFIG=1"; | |
depsSha256 = "15m8zh1dxyaxbgrr2jmbk6hvzzphhk6nd4w7m990y8b3wj2qli5s"; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment