3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Florian Klink a905fcb40d buildBazelPackage: set $USER environment variable (#74538)
tensorflow assumes $USER to be set to something, otherwise it complains
like this:

```
FATAL: $USER is not set, and unable to look up name of current user: (error: 0): Success
Traceback (most recent call last):
  File "./configure.py", line 1602, in <module>
    main()
  File "./configure.py", line 1399, in main
    _TF_MAX_BAZEL_VERSION)
  File "./configure.py", line 478, in check_bazel_version
    ['bazel', '--batch', '--bazelrc=/dev/null', 'version'])
  File "./configure.py", line 156, in run_shell
    output = subprocess.check_output(cmd)
  File "/nix/store/drr8qcgiccfc5by09r5zc30flgwh1mbx-python3-3.7.5/lib/python3.7/subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "/nix/store/drr8qcgiccfc5by09r5zc30flgwh1mbx-python3-3.7.5/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
```

Spotted while changing the hash of its fixed-output derivation on
purpose.

We could also set this in the tensorflow-specific part, but very likely,
other programs will fail as well.
2019-11-28 16:14:45 -08:00
..
applications picard: 2.2.2 -> 2.2.3 2019-11-28 23:14:04 +01:00
build-support buildBazelPackage: set $USER environment variable (#74538) 2019-11-28 16:14:45 -08:00
common-updater common-updater-scripts: Fix breakage 2019-11-26 14:18:33 +01:00
data zafiro-icons: 0.9 -> 1.0 2019-11-27 18:50:02 -05:00
desktops gnome3.iagno: 3.34.2 -> 3.34.3 (#74402) 2019-11-28 02:43:41 +01:00
development Merge pull request #73602 from ahiaao/fix/blist-python37 2019-11-28 18:40:00 -05:00
games openxray: make it work again after #72199 2019-11-24 16:10:28 +01:00
misc buildUBoot: allow passing custom src 2019-11-27 21:57:41 +01:00
os-specific alsaPlugins: 1.1.9 -> 1.2.1 2019-11-28 11:59:02 -08:00
servers mysql80: define pname and version 2019-11-28 20:21:05 +01:00
shells nushell: 0.5.0 -> 0.6.0 2019-11-27 08:49:59 +02:00
stdenv
test
tools plantuml: 1.2019.11 -> 1.2019.12 2019-11-28 22:32:10 +01:00
top-level matrixcli: init at 2019-08-15 2019-11-28 17:13:29 +01:00