Merge pull request #163 from nix-community/riscv64

add riscv64 support
This commit is contained in:
Jörg Thalheim 2024-07-25 12:09:06 +02:00 committed by GitHub
commit 7b8ef0d5fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,9 +16,15 @@
};
defaultTemplate = self.templates.app;
} //
(flake-utils.lib.eachDefaultSystem
(system:
}
// (flake-utils.lib.eachSystem
[
"x86_64-linux"
"aarch64-linux"
"riscv64-linux"
]
(
system:
let
pkgs = nixpkgs.legacyPackages.${system};
@ -44,6 +50,7 @@
devShells.default = callPackage ./shell.nix {
inherit mkGoEnv gomod2nix;
};
})
}
)
);
}