1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/build-support/rust
Christian Kauhaus 09f24f628b buildRustPackage: Fix "warning: file ... may be generated" (#24471)
Every Rust derivation used to emit a warning like the following:

```
setting SOURCE_DATE_EPOCH to timestamp 1490877042 of file cargo-6e0c18c/Cargo.lock
warning: file cargo-6e0c18c/Cargo.lock may be generated; SOURCE_DATE_EPOCH may be non-deterministic
```

The reason is that the dependencies are copied without preserving
timestamps. Changing the build script to timestamp-preserving copy
removes the warning.
2017-03-30 15:15:49 +02:00
..
patch-registry-deps
default.nix buildRustPackage: Fix "warning: file ... may be generated" (#24471) 2017-03-30 15:15:49 +02:00
fetch-cargo-deps Revert "buildRustPackage: fix deprecated use of registry.index config key" 2017-03-02 13:40:19 +01:00
fetchcargo.nix lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00