mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
gnuradio: use addEnvHooks
This commit is contained in:
parent
d01cb0c1ea
commit
bfb1db7a75
|
@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
|
|||
addGRCBlocksPath() {
|
||||
addToSearchPath GRC_BLOCKS_PATH $1/share/gnuradio/grc/blocks
|
||||
}
|
||||
envHooks+=(addGRCBlocksPath)
|
||||
addEnvHooks "$targetOffset" addGRCBlocksPath
|
||||
'';
|
||||
|
||||
setupHook = [ grcSetupHook ];
|
||||
|
|
Loading…
Reference in a new issue