gitlab: remove rustc runtime dependency from gitlab-glfm-markdown

This commit is contained in:
Yaya 2024-02-02 12:02:28 +01:00
parent 84f725014e
commit 051a45ec8a

View File

@ -61,12 +61,17 @@ let
rustPlatform.bindgenHook
];
disallowedReferences = [
rustc.unwrapped
];
preInstall = ''
export CARGO_HOME="$PWD/../.cargo/"
'';
postInstall = ''
mv -v $GEM_HOME/gems/${attrs.gemName}-${attrs.version}/lib/{glfm_markdown/glfm_markdown.so,}
find $out -type f -name .rustc_info.json -delete
'';
};
};