mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-08 11:39:11 +00:00
add riscv64 support
This commit is contained in:
parent
31b6d2e40b
commit
53eb7cde5b
1 changed files with 11 additions and 4 deletions
15
flake.nix
15
flake.nix
|
@ -16,9 +16,15 @@
|
||||||
};
|
};
|
||||||
defaultTemplate = self.templates.app;
|
defaultTemplate = self.templates.app;
|
||||||
|
|
||||||
} //
|
}
|
||||||
(flake-utils.lib.eachDefaultSystem
|
// (flake-utils.lib.eachSystem
|
||||||
(system:
|
[
|
||||||
|
"x86_64-linux"
|
||||||
|
"aarch64-linux"
|
||||||
|
"riscv64-linux"
|
||||||
|
]
|
||||||
|
(
|
||||||
|
system:
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
|
||||||
|
@ -44,6 +50,7 @@
|
||||||
devShells.default = callPackage ./shell.nix {
|
devShells.default = callPackage ./shell.nix {
|
||||||
inherit mkGoEnv gomod2nix;
|
inherit mkGoEnv gomod2nix;
|
||||||
};
|
};
|
||||||
})
|
}
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue