doc: set SOURCE_DATE_EPOCH so not stuck at 1980 in nix build
This commit is contained in:
parent
495d8cd44a
commit
96aa415920
1 changed files with 3 additions and 0 deletions
|
|
@ -185,6 +185,9 @@ pkgs.mkShell {
|
|||
];
|
||||
|
||||
shellHook = ''
|
||||
# override SOUCE_DATE_EPOCH to current time (otherwise will get 1980)
|
||||
export SOURCE_DATE_EPOCH=$(date +%s)
|
||||
|
||||
echo "xo development environment loaded!"
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue