mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 05:23:54 +00:00
Merge pull request #271594 from marsam/update-flow
flow: 0.222.0 -> 0.223.2
This commit is contained in:
commit
0a2cdabe7e
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "flow";
|
pname = "flow";
|
||||||
version = "0.222.0";
|
version = "0.223.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "facebook";
|
owner = "facebook";
|
||||||
repo = "flow";
|
repo = "flow";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-IOy6zsDGUfiSeOalQnku/4uNyjqpz2bMcpmf7Vq9fyI=";
|
hash = "sha256-vjsqQuQxTywSx4c0lnDKrrNr5hfFog9UurhIctq14f4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeFlags = [ "FLOW_RELEASE=1" ];
|
makeFlags = [ "FLOW_RELEASE=1" ];
|
||||||
|
|
||||||
|
# Work around https://github.com/NixOS/nixpkgs/issues/166205.
|
||||||
|
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||||
|
NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
|
||||||
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 bin/flow $out/bin/flow
|
install -Dm755 bin/flow $out/bin/flow
|
||||||
install -Dm644 resources/shell/bash-completion $out/share/bash-completion/completions/flow
|
install -Dm644 resources/shell/bash-completion $out/share/bash-completion/completions/flow
|
||||||
|
Loading…
Reference in New Issue
Block a user