Skip to content

Commit

Permalink
nixpkgs: extract target as x86_64 -> x86-64
Browse files Browse the repository at this point in the history
  • Loading branch information
dguibert committed Jan 21, 2022
1 parent d5b1fe5 commit 646d0e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nixpkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
}:

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

args = {
localSystem = {
inherit system;
gcc = { arch = target; };
gcc = { arch = target_; };
};
config = {
replaceStdenv = import ./stdenv.nix;
Expand Down

0 comments on commit 646d0e6

Please sign in to comment.