Skip to content

Conversation

@dcarley
Copy link
Contributor

@dcarley dcarley commented Jun 19, 2025

I find this useful to test changes from tags and feature branches, e.g.

% FLOXBIN="nix run github:flox/flox/brantley/remove-layered-activation-from-manifest-build --" make
./test.sh
Using flox binary: nix run github:flox/flox/brantley/remove-layered-activation-from-manifest-build --
🔨 Building quotes-app-cpp with Flox...

The recent addition of quoting prevented this:

% FLOXBIN="nix run github:flox/flox/brantley/remove-layered-activation-from-manifest-build --" make
./test.sh
Using flox binary: nix run github:flox/flox/brantley/remove-layered-activation-from-manifest-build --
🔨 Building quotes-app-cpp with Flox...
./test.sh: line 30: nix run github:flox/flox/brantley/remove-layered-activation-from-manifest-build --: No such file or directory
make: *** [test] Error 127

I find this useful to test changes from tags and feature branches, e.g.

    % FLOXBIN="nix run github:flox/flox/brantley/remove-layered-activation-from-manifest-build --" make
    ./test.sh
    Using flox binary: nix run github:flox/flox/brantley/remove-layered-activation-from-manifest-build --
    🔨 Building quotes-app-cpp with Flox...

The recent addition of quoting prevented this:

    % FLOXBIN="nix run github:flox/flox/brantley/remove-layered-activation-from-manifest-build --" make
    ./test.sh
    Using flox binary: nix run github:flox/flox/brantley/remove-layered-activation-from-manifest-build --
    🔨 Building quotes-app-cpp with Flox...
    ./test.sh: line 30: nix run github:flox/flox/brantley/remove-layered-activation-from-manifest-build --: No such file or directory
    make: *** [test] Error 127
@dcarley dcarley requested a review from a team June 19, 2025 09:39
@dcarley dcarley mentioned this pull request Jun 19, 2025
Copy link
Contributor

@ysndr ysndr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to leave a comment in test.sh that we deliberately removed the quoting?
I fear otherwise the next person will go and quote them again..

@dcarley
Copy link
Contributor Author

dcarley commented Jun 20, 2025

Do you want to leave a comment in test.sh that we deliberately removed the quoting?
I fear otherwise the next person will go and quote them again..

Good point. I'm now going to re-use this for #17 though, so we don't need to.

@dcarley dcarley merged commit 31f1d7c into main Jun 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants