Skip to content

Conversation

mpscholten
Copy link
Member

@mpscholten mpscholten commented Jun 26, 2024

This PR removes the need for the --impure flag when using devenv as suggested in cachix/devenv#1018

Requires an update of the projects .envrc:

# Old:
use flake . --impure --accept-flake-config

# New:
if ! use flake . --accept-flake-config --override-input ihp/devenv-root "file+file://"<(printf %s "$PWD")
then
    echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
fi

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.

1 participant