1
0
Fork 1
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:
Daiderd Jordan 2018-01-07 21:28:50 +01:00
parent d01cb0c1ea
commit bfb1db7a75
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
addGRCBlocksPath() {
addToSearchPath GRC_BLOCKS_PATH $1/share/gnuradio/grc/blocks
}
envHooks+=(addGRCBlocksPath)
addEnvHooks "$targetOffset" addGRCBlocksPath
'';
setupHook = [ grcSetupHook ];