Skip to content

Commit

Permalink
overrideLibcxx: use lib.getVersion to fix evaluation error
Browse files Browse the repository at this point in the history
  • Loading branch information
reckenrode committed Oct 9, 2024
1 parent 62bc583 commit dad0fba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/stdenv/adapters.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ rec {
assert stdenv.cc.libcxx != null;
assert pkgs.stdenv.cc.libcxx != null;
# only unified libcxx / libcxxabi stdenv's are supported
assert lib.versionAtLeast pkgs.stdenv.cc.libcxx.version "12";
assert lib.versionAtLeast stdenv.cc.libcxx.version "12";
assert lib.versionAtLeast (lib.getVersion pkgs.stdenv.cc.libcxx) "12";
assert lib.versionAtLeast (lib.getVersion stdenv.cc.libcxx) "12";
let
llvmLibcxxVersion = lib.getVersion llvmLibcxx;
stdenvLibcxxVersion = lib.getVersion stdenvLibcxx;
Expand Down

0 comments on commit dad0fba

Please sign in to comment.