Skip to content

Commit 646d0e6

Browse files
committed
nixpkgs: extract target as x86_64 -> x86-64
1 parent d5b1fe5 commit 646d0e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nixpkgs/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
}:
55

66
let
7+
# gcc arch is x64-64
8+
target_ = builtins.replaceStrings ["x86_64"] ["x86-64"] target;
79

810
args = {
911
localSystem = {
1012
inherit system;
11-
gcc = { arch = target; };
13+
gcc = { arch = target_; };
1214
};
1315
config = {
1416
replaceStdenv = import ./stdenv.nix;

0 commit comments

Comments
 (0)