~ruther/nix-fpga

8b09797a99d2dd65753b92d503bc2b28f2eb0096 — Rutherther 1 year, 1 month ago b8958c6
feat: add shebangs
1 files changed, 2 insertions(+), 0 deletions(-)

M flake.nix
M flake.nix => flake.nix +2 -0
@@ 113,6 113,7 @@
        targetPkgs = quartusTargetPkgs;
        name = "questasim-env";
        runScript = pkgs.writeScript "questasim-env" ''
          #!/usr/bin/env bash
          ${runScriptPrefix "questa" true}
          if [[ ! -z $INSTALL_DIR ]]; then
            export PATH=$INSTALL_DIR/bin:$PATH


@@ 133,6 134,7 @@
      ];

      wrappedQuestaScripts = map (x: pkgs.writeScriptBin x ''
        #!/usr/bin/env bash
        exec ${questaFhsEnv}/bin/questasim-env ${x} "$@"
      '') questaFiles;


Do not follow this link