Closed tim-hilt closed 3 years ago
I am getting something similar with xorg font packages:
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/w1hzp0nsyskhgzbipx3l8r3ncxg6dkpb-font-bh-lucidatypewriter-100dpi-1.0.3.tar.bz2
source root is font-bh-lucidatypewriter-100dpi-1.0.3
setting SOURCE_DATE_EPOCH to timestamp 1289851816 of file font-bh-lucidatypewriter-100dpi-1.0.3/INSTALL
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
configure flags: --disable-dependency-tracking --prefix=/nix/store/j12wlka8vvl4f60ilvzly23scq6qpxa7-font-bh-lucidatypewriter>
/nix/store/qg8qhrxiab3r87xmaxbq565g1g8bnl57-stdenv-linux/setup: ./configure: /bin/sh: bad interpreter: No such file or direc>
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
duplicate of https://github.com/NixOS/nixpkgs/issues/124372 ?
Possibly. I can confirm it when I find out how to delete the store-path
-line from /etc/nix/nix.conf
.
Confirmed this is a duplicate of #124372. Closing.
Describe the bug
When compiling anything via
cmake
withgcc
,cmake
will try to compile a simple test-program. However this will fail because it assumes/bin/sh
to be present (instead of for example/usr/bin/env sh
, which would work).Build log:
To Reproduce Steps to reproduce the behavior:
cmake
in your configuration.nix or flake.nixExpected behavior
Correct compilation resulting in a usable program
Notify maintainers @tteggel @LnL7