mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
docs,tests: fetch nmd and nmt using fetchTarball
This simplifies the code a bit and avoids using experimental Flake functionality. If Flakes become stable before NixOS 22.11 then we can consider having nmd and nmt as Flake inputs. Maybe could then also avoid the need for flake-compat.
This commit is contained in:
parent
0434f8e4ca
commit
9550595502
5 changed files with 16 additions and 79 deletions
14
flake.nix
14
flake.nix
|
|
@ -2,16 +2,9 @@
|
|||
description = "Home Manager for Nix";
|
||||
|
||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
inputs.nmd.url = "gitlab:rycee/nmd";
|
||||
inputs.nmd.flake = false;
|
||||
inputs.nmt.url = "gitlab:rycee/nmt";
|
||||
inputs.nmt.flake = false;
|
||||
|
||||
inputs.utils.url = "github:numtide/flake-utils";
|
||||
inputs.flake-compat.url = "github:edolstra/flake-compat";
|
||||
inputs.flake-compat.flake = false;
|
||||
|
||||
outputs = { self, nixpkgs, nmd, utils, ... }:
|
||||
outputs = { self, nixpkgs, utils, ... }:
|
||||
{
|
||||
nixosModules = rec {
|
||||
home-manager = import ./nixos;
|
||||
|
|
@ -67,10 +60,7 @@
|
|||
} // utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
docs = import ./docs {
|
||||
inherit pkgs;
|
||||
nmdSrc = nmd;
|
||||
};
|
||||
docs = import ./docs { inherit pkgs; };
|
||||
in {
|
||||
packages = rec {
|
||||
home-manager = pkgs.callPackage ./home-manager { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue