Skip to content

Commit

Permalink
lix_git: init
Browse files Browse the repository at this point in the history
  • Loading branch information
dr460nf1r3 committed Aug 16, 2024
1 parent 3a03b78 commit 4e1e238
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 2 deletions.
39 changes: 39 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ rec {
url = "github:Jovian-Experiments/Jovian-NixOS";
inputs.nixpkgs.follows = "nixpkgs";
};
lix = {
url = "https://git.lix.systems/lix-project/lix/archive/main.tar.gz";
inputs.flake-compat.follows = "";
inputs.nix2container.follows = "";
inputs.nixpkgs.follows = "nixpkgs";
inputs.pre-commit-hooks.follows = "";
};
};

outputs = { nixpkgs, yafas, ... }@inputs: yafas.withAllSystems nixpkgs
Expand Down
8 changes: 6 additions & 2 deletions overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
, selfOverlay ? self.overlays.default
, jovian ? flakes.jovian or null
, fenix ? flakes.fenix or null
, lix ? flakes.lix or null
, nixpkgsExtraConfig ? { }
}:
final: prev:
Expand Down Expand Up @@ -104,15 +105,18 @@ let
# Required for 32-bit packages
has32 = final.stdenv.hostPlatform.isLinux && final.stdenv.hostPlatform.isx86;

# apply Jovian overlay only on x86_64-linux
# Apply Jovian overlay only on x86_64-linux
jovian-chaotic =
if final.stdenv.hostPlatform.isLinux && final.stdenv.hostPlatform.isx86_64 then {
inherit (jovian.legacyPackages.x86_64-linux) linux_jovian mesa-radv-jupiter mesa-radeonsi-jupiter;
recurseForDerivations = true;
} else { };

# Lix master branch builds
lix_git = lix.packages.${final.system}.nix;
in
{
inherit nyxUtils jovian-chaotic;
inherit nyxUtils jovian-chaotic lix_git;

nyx-generic-git-update = final.callPackage ../pkgs/nyx-generic-git-update { };

Expand Down

0 comments on commit 4e1e238

Please sign in to comment.