Charlotte 🦝 Delenk
8822957cdf
All checks were successful
Hydra packages.aarch64-linux.element-desktop Hydra build #27413 of nixos-config:pr618:packages.aarch64-linux.element-desktop
Hydra nixosConfigurations.thinkrac Hydra build #27420 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.rainbow-resort Hydra build #27419 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.oracle-installer Hydra build #27417 of nixos-config:pr618:nixosConfigurations.oracle-installer
Hydra nixosConfigurations.pc-installer Hydra build #27418 of nixos-config:pr618:nixosConfigurations.pc-installer
40 lines
997 B
Nix
40 lines
997 B
Nix
# Cross compiled packages for when shit breaks
|
|
{
|
|
nixpkgs,
|
|
lix,
|
|
...
|
|
}:
|
|
let
|
|
pkgs_x86_64 = import nixpkgs {
|
|
system = "x86_64-linux";
|
|
crossSystem.system = "riscv64-linux";
|
|
overlays = [ lix.overlays.default ];
|
|
};
|
|
pkgs_x86_64_2 = import nixpkgs {
|
|
system = "x86_64-linux";
|
|
crossSystem.system = "riscv64-linux";
|
|
};
|
|
in
|
|
{
|
|
nixpkgs.overlays = [
|
|
(self: super: {
|
|
inherit (pkgs_x86_64) lix pandoc;
|
|
inherit (pkgs_x86_64_2) nixos-option;
|
|
})
|
|
];
|
|
environment.etc."nix/inputs/nixpkgs-overlays/riscv-cross-packages.nix".text = ''
|
|
self: _: let pkgs_x86_64 = import <nixpkgs> {
|
|
system = "x86_64-linux";
|
|
crossSystem.system = "riscv64-linux";
|
|
overlays = [self.inputs.lix.overlays.default];
|
|
}
|
|
pkgs_x86_64_2 = import <nixpkgs> {
|
|
system = "x86_64-linux";
|
|
crossSystem.system = "riscv64-linux";
|
|
overlays = [];
|
|
}; in {
|
|
inherit (pkgs_x86_64) lix pandoc;
|
|
inherit (pkgs_x86_64_2) nixos-option;
|
|
}
|
|
'';
|
|
}
|