Created
September 4, 2020 21:31
-
-
Save yvesf/837b61017947fb795272834553aab6dc to your computer and use it in GitHub Desktop.
Running mediatek SP Flash Tool in nixos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgs = import <nixpkgs> {}; | |
in pkgs.buildFHSUserEnv { | |
name = "fhs"; | |
targetPkgs = pkgs: [ | |
pkgs.nextcloud-client | |
pkgs.fontconfig | |
pkgs.freetype | |
pkgs.zlib | |
pkgs.wine | |
pkgs.xorg.libXrender | |
pkgs.xorg.libXext | |
pkgs.xorg.libX11 | |
pkgs.xorg.libSM | |
pkgs.xorg.libICE | |
pkgs.gtk2 | |
pkgs.glib | |
pkgs.gnome2.libglade | |
]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(nix-build fhsenv.nix)/bin/fhs | |
./flash_tool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment