Skip to content

Commit

Permalink
fixup! spike(nix/packages): add hivello extra-container
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed Jan 29, 2025
1 parent 2b53d9d commit 71b5127
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions nix/packages/extra-container-hivello.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,23 @@
system,
}:

inputs.extra-container.lib.buildContainers {
let
nixpkgs = inputs.nixpkgs-2405;
in

(inputs.extra-container.lib.buildContainers {

# The system of the container host
inherit system;

# Optional: Set nixpkgs.
# If unset, the nixpkgs input of extra-container flake is used
inherit nixpkgs;

# Only set this if the `system.stateVersion` of your container
# host is < 22.05
# legacyInstallDirs = true;

# Optional: Set nixpkgs.
# If unset, the nixpkgs input of extra-container flake is used
nixpkgs = inputs.nixpkgs-2405;

# Set this to disable `nix run` support
# addRunner = false;

Expand Down Expand Up @@ -253,4 +258,8 @@ inputs.extra-container.lib.buildContainers {
};
};
};
}

}).overrideAttrs
{
meta.platforms = with nixpkgs.lib; lists.intersectLists platforms.linux platforms.x86_64;
}

0 comments on commit 71b5127

Please sign in to comment.