mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
committed by
github-actions[bot]
parent
dab7a3a658
commit
d1c01cf0f8
@@ -11,21 +11,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "uvwasi";
|
pname = "uvwasi";
|
||||||
version = "0.0.21";
|
version = "0.0.23";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nodejs";
|
owner = "nodejs";
|
||||||
repo = "uvwasi";
|
repo = "uvwasi";
|
||||||
tag = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-po2Pwqf97JXGKY8WysvyR1vSkqQ4XIF0VQG+83yV9nM=";
|
hash = "sha256-+vz/qTMRRDHV1VE4nny9vYYtarZHk1xoM4EZiah3jnY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Patch was sent upstream: https://github.com/nodejs/uvwasi/pull/302.
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace CMakeLists.txt \
|
|
||||||
--replace-fail 'DESTINATION ''${CMAKE_INSTALL_INCLUDEDIR}/uvwasi' 'DESTINATION ''${CMAKE_INSTALL_INCLUDEDIR}'
|
|
||||||
'';
|
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
"out"
|
"out"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user