1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

fish: generate fish completions using python 3

This commit is contained in:
Theodore Ni 2022-04-29 01:47:51 -05:00 committed by Robert Helgesson
parent 5872aad1d0
commit af828536ed
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -307,7 +307,7 @@ in {
generateCompletions = package: generateCompletions = package:
pkgs.runCommand "${package.name}-fish-completions" { pkgs.runCommand "${package.name}-fish-completions" {
src = package; src = package;
nativeBuildInputs = [ pkgs.python2 ]; nativeBuildInputs = [ pkgs.python3 ];
buildInputs = [ cfg.package ]; buildInputs = [ cfg.package ];
preferLocalBuild = true; preferLocalBuild = true;
} '' } ''