gh: fix attribute paths

This fixes some attribute paths to match recent changes in Nixpkgs.
This commit is contained in:
Robert Helgesson 2021-01-20 18:59:58 +01:00
parent 8f24ed4c7f
commit 7e80e034cc
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 3 additions and 8 deletions

View file

@ -45,7 +45,7 @@ in {
};
config = mkIf cfg.enable {
home.packages = [ pkgs.gitAndTools.gh ];
home.packages = [ pkgs.gh ];
xdg.configFile."gh/config.yml".text =
builtins.toJSON { inherit (cfg) aliases editor gitProtocol; };

View file

@ -8,13 +8,8 @@
editor = "vim";
};
nixpkgs.overlays = [
(self: super: {
gitAndTools = super.gitAndTools // {
gh = pkgs.writeScriptBin "dummy-gh" "";
};
})
];
nixpkgs.overlays =
[ (self: super: { gh = pkgs.writeScriptBin "dummy-gh" ""; }) ];
nmt.script = ''
assertFileExists home-files/.config/gh/config.yml