fix(wsl): nixpkgs hostPlatform
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
{ username, inputs, ... }:
|
{
|
||||||
|
lib,
|
||||||
|
username,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nixos-wsl.nixosModules.wsl
|
inputs.nixos-wsl.nixosModules.wsl
|
||||||
@@ -17,4 +22,6 @@
|
|||||||
|
|
||||||
# fix vscode remote
|
# fix vscode remote
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkForce "x86_64-linux";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user