51e09efdfc
GitOrigin-RevId: 296793637b22bdb4d23b479879eba0a71c132a66
4 lines
249 B
Bash
4 lines
249 B
Bash
# Use the last part of the out path as hash input for the build.
|
|
# This should ensure that it is deterministic across rebuilds of the same
|
|
# derivation and not easily collide with other builds.
|
|
export NIX_CFLAGS_COMPILE+=" -frandom-seed=${out##*/}"
|