gh: fix attribute paths
This fixes some attribute paths to match recent changes in Nixpkgs.
This commit is contained in:
parent
8f24ed4c7f
commit
7e80e034cc
|
@ -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; };
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue