Skip to content

Source just from upstream GitHub flake instead of nixpkgs-unstable - #14

Open
chamalgomes with Copilot wants to merge 1 commit into
mainfrom
copilot/update-just-configuration
Open

Source just from upstream GitHub flake instead of nixpkgs-unstable#14
chamalgomes with Copilot wants to merge 1 commit into
mainfrom
copilot/update-just-configuration

Conversation

Copilot AI commented Jun 11, 2026

Copy link
Copy Markdown

This updates the Nix configuration to fetch just from its upstream GitHub flake, aligning with the project docs and avoiding reliance on nixpkgs-unstable for this tool. The change keeps package resolution system-aware across Linux and Darwin configs.

  • Problem addressed

    • just was previously installed via unstable.just, not from the upstream flake source recommended in the docs.
  • Flake input wiring

    • Added just as a top-level flake input:
      • just.url = "github:casey/just";
    • Passed just through extraSpecialArgs so Home Manager modules can consume it in both target configurations.
  • Package source change

    • Replaced unstable.just in modules/packages.nix with the upstream flake package:
      • just.packages.${pkgs.system}.default
# flake.nix
inputs.just.url = "github:casey/just";

# modules/packages.nix
let
  justPackage = just.packages.${pkgs.system}.default;
in {
  home.packages = with pkgs; [
    justPackage
  ];
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants