mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 15:43:00 +00:00
gitlab: remove rustc runtime dependency from gitlab-glfm-markdown
This commit is contained in:
parent
84f725014e
commit
051a45ec8a
@ -61,12 +61,17 @@ let
|
|||||||
rustPlatform.bindgenHook
|
rustPlatform.bindgenHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disallowedReferences = [
|
||||||
|
rustc.unwrapped
|
||||||
|
];
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
export CARGO_HOME="$PWD/../.cargo/"
|
export CARGO_HOME="$PWD/../.cargo/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv -v $GEM_HOME/gems/${attrs.gemName}-${attrs.version}/lib/{glfm_markdown/glfm_markdown.so,}
|
mv -v $GEM_HOME/gems/${attrs.gemName}-${attrs.version}/lib/{glfm_markdown/glfm_markdown.so,}
|
||||||
|
find $out -type f -name .rustc_info.json -delete
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user