Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-16.03 28 lines 1.1 kB view raw
1# Please make sure to check if rustfmt still builds when updating nightly 2{ stdenv, callPackage }: 3 4callPackage ./generic.nix { 5 shortVersion = "2016-02-22"; 6 isRelease = false; 7 forceBundledLLVM = true; 8 srcRev = "d1f422ec280b881b8236c5d173103bc799e1590e"; 9 srcSha = "b0753045ae438c0869d37f429fe84451dcacc4b2ab9413d34bf29fde94fde462"; 10 11 /* Rust is bootstrapped from an earlier built version. We need 12 to fetch these earlier versions, which vary per platform. 13 The shapshot info you want can be found at 14 https://github.com/rust-lang/rust/blob/{$shortVersion}/src/snapshots.txt 15 with the set you want at the top. 16 */ 17 18 snapshotHashLinux686 = "a09c4a4036151d0cb28e265101669731600e01f2"; 19 snapshotHashLinux64 = "97e2a5eb8904962df8596e95d6e5d9b574d73bf4"; 20 snapshotHashDarwin686 = "ca52d2d3ba6497ed007705ee3401cf7efc136ca1"; 21 snapshotHashDarwin64 = "3c44ffa18f89567c2b81f8d695e711c86d81ffc7"; 22 snapshotDate = "2015-12-18"; 23 snapshotRev = "3391630"; 24 25 patches = [ ./patches/remove-uneeded-git.patch ] 26 ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch; 27} 28