Files
home-manager/default.nix
Austin Horstman 9fed84d8f4 dev: use locked nixpkgs tarball URL
Restore the legacy development shell after the nixpkgs input switched to a tarball lock entry without owner or repo attributes.
2026-09-20 09:43:41 -05:00

51 lines
1004 B
Nix

{
pkgs ? import <nixpkgs> { },
}:
let
path = builtins.path {
path = ./.;
name = "home-manager-source";
};
nixpkgs = (
import (
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
n = lock.nodes.nixpkgs.locked;
in
fetchTarball {
inherit (n) url;
sha256 = n.narHash;
}
) { }
);
in
rec {
docs =
let
releaseInfo = pkgs.lib.importJSON ./release.json;
in
with import ./docs {
inherit pkgs;
inherit (releaseInfo) release isReleaseBranch;
};
{
inherit manPages jsonModuleMaintainers;
inherit (manual) html htmlOpenTool;
inherit (options) json;
};
home-manager = pkgs.callPackage ./home-manager { inherit path; };
install = pkgs.callPackage ./home-manager/install.nix { inherit home-manager; };
nixos = import ./nixos;
lib = import ./lib { inherit (pkgs) lib; };
dev = nixpkgs.callPackage ./home-manager/devShell.nix { };
inherit path;
}