gnuradio: use addEnvHooks
This commit is contained in:
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
|
|||||||
addGRCBlocksPath() {
|
addGRCBlocksPath() {
|
||||||
addToSearchPath GRC_BLOCKS_PATH $1/share/gnuradio/grc/blocks
|
addToSearchPath GRC_BLOCKS_PATH $1/share/gnuradio/grc/blocks
|
||||||
}
|
}
|
||||||
envHooks+=(addGRCBlocksPath)
|
addEnvHooks "$targetOffset" addGRCBlocksPath
|
||||||
'';
|
'';
|
||||||
|
|
||||||
setupHook = [ grcSetupHook ];
|
setupHook = [ grcSetupHook ];
|
||||||
|
|||||||
Reference in New Issue
Block a user