This commit is contained in:
BalrajSinghGidda
2026-03-20 21:48:22 +05:30
parent 0b883923ef
commit de4459ff54
5 changed files with 20 additions and 8 deletions

16
flake.lock generated
View File

@@ -7,32 +7,32 @@
]
},
"locked": {
"lastModified": 1764613336,
"narHash": "sha256-L979az28t/+SXvYw9qhOno5HLlDwkZOpz6LzCLnjmRM=",
"lastModified": 1774007980,
"narHash": "sha256-FOnZjElEI8pqqCvB6K/1JRHTE8o4rer8driivTpq2uo=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f3902b5d8767985680875ad86d028371100faeb3",
"rev": "9670de2921812bc4e0452f6e3efd8c859696c183",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-25.11",
"ref": "master",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1764522689,
"narHash": "sha256-SqUuBFjhl/kpDiVaKLQBoD8TLD+/cTUzzgVFoaHrkqY=",
"lastModified": 1773821835,
"narHash": "sha256-TJ3lSQtW0E2JrznGVm8hOQGVpXjJyXY2guAxku2O9A4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f",
"rev": "b40629efe5d6ec48dd1efba650c797ddbd39ace0",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-25.11",
"ref": "nixos-unstable",
"type": "indirect"
}
},

View File

@@ -14,5 +14,6 @@
# Nix development tools
nil # Nix language server
nixpkgs-fmt # Nix code formatter
(callPackage ./programs/copilot-fix.nix {})
];
}

View File

@@ -0,0 +1,11 @@
{ pkgs, ... }:
pkgs.github-copilot-cli.overrideAttrs (old: {
postFixup = (old.postFixup or "") + ''
if [ -f "$out/bin/.copilot-wrapped" ]; then
echo "Patching copilot wrapper to remove --no-warnings..."
substituteInPlace "$out/bin/.copilot-wrapped" \
--replace "--no-warnings" ""
fi
'';
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 KiB

After

Width:  |  Height:  |  Size: 8.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB