21 lines
452 B
Nix
21 lines
452 B
Nix
|
|
{ pkgs }:
|
||
|
|
|
||
|
|
pkgs.symlinkJoin {
|
||
|
|
name = "tb-dev-scripts";
|
||
|
|
meta = {
|
||
|
|
description = "Custom development scripts for TB";
|
||
|
|
maintainers = [ ];
|
||
|
|
};
|
||
|
|
paths = [
|
||
|
|
(pkgs.writeShellApplication {
|
||
|
|
name = ",cmake_update_fetchcontent";
|
||
|
|
runtimeInputs = [ pkgs.python3 pkgs.git ];
|
||
|
|
text = ''
|
||
|
|
python3 - "$@" <<'PYTHON_SCRIPT'
|
||
|
|
${builtins.readFile ./cmake_update_fetchcontent.py}
|
||
|
|
PYTHON_SCRIPT
|
||
|
|
'';
|
||
|
|
})
|
||
|
|
];
|
||
|
|
}
|