mirror of
https://github.com/NotAShelf/microfetch.git
synced 2025-12-08 05:53:51 +00:00
nix: build with Mold linker on x86_64-linux
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I771c36297577aba189058a2183ec2b4a6a6a6964
This commit is contained in:
parent
3ad14a95a6
commit
8c32f5f408
3 changed files with 27 additions and 6 deletions
|
|
@ -10,9 +10,12 @@
|
|||
forEachSystem = nixpkgs.lib.genAttrs systems;
|
||||
pkgsForEach = nixpkgs.legacyPackages;
|
||||
in {
|
||||
packages = forEachSystem (system: {
|
||||
packages = forEachSystem (system: let
|
||||
pkgs = pkgsForEach.${system};
|
||||
in {
|
||||
default = self.packages.${system}.microfetch;
|
||||
microfetch = pkgsForEach.${system}.callPackage ./nix/package.nix {};
|
||||
microfetch = pkgs.callPackage ./nix/package.nix {};
|
||||
microfetch-mold = pkgs.callPackage ./nix/package.nix {useMold = true;};
|
||||
});
|
||||
|
||||
devShells = forEachSystem (system: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue