nix/pkgs/flipperzero-firmware: I continue to hate this

This commit is contained in:
Luke Granger-Brown 2022-08-28 20:58:32 +01:00
parent 0c26047d75
commit b842370266

View file

@ -41,14 +41,17 @@ pkgs.stdenvNoCC.mkDerivation rec {
pname = "flipper-firmware";
version = "0.65.3-0827-RMv2";
src = pkgs.fetchFromGitHub {
owner = "RogueMaster";
repo = "flipperzero-firmware-wPlugins";
src = (pkgs.fetchgit {
url = "https://github.com/RogueMaster/flipperzero-firmware-wPlugins.git";
rev = version;
fetchSubmodules = true;
leaveDotGit = true;
sha256 = "1vvyrp1jai3l0cjhscqnp8zyw2hn6qkqjpq93gsryjhg615hxmj4";
};
sha256 = "1ch9fwkl00db3m57iz5xykk2zkd9cvg4h1msspni7ghvqnjmiy9v";
}).overrideAttrs (_: {
NIX_PREFETCH_GIT_CHECKOUT_HOOK = ''
find "$dir" -mindepth 2 -name .git -print0 | xargs -0 rm -rf
'';
});
patches = [
./fbt_assets_protobuf_version_from_changelog.patch