Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 09f24f628b64ada599616271ff4809eddb59eb0c
      
https://github.com/NixOS/nixpkgs/commit/09f24f628b64ada599616271ff4809eddb59eb0c
  Author: Christian Kauhaus <k...@flyingcircus.io>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M pkgs/build-support/rust/default.nix

  Log Message:
  -----------
  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.


_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to