Git Product home page Git Product logo

Comments (8)

Atry avatar Atry commented on June 3, 2024 3

How about also avoid --impure when using flake? See #745 (comment)

from devenv.

Atry avatar Atry commented on June 3, 2024

It is possible to set DEVENV_ROOT to support pure mode
See #706, #566 and #583

from devenv.

Atry avatar Atry commented on June 3, 2024

Why do we need plain Nix expressions as flake inputs? Why not just generate a flake that contains current environment variables, including PWD, then just pass --override-input to use the generated flake.

from devenv.

domenkozar avatar domenkozar commented on June 3, 2024

For devenv we can do that, but not for the flakes integration.

from devenv.

Atry avatar Atry commented on June 3, 2024

How about using --redirect:

nix develop --redirect .#devenv-root .

from devenv.

Atry avatar Atry commented on June 3, 2024

I think the current impure devenv.root is a dangerous design when packing images via nix2container, because the image content could depend on devenv.root and reference to non-existing directory at runtime.

from devenv.

Atry avatar Atry commented on June 3, 2024

Ideally, there should be a perWorkingDirectory submodule under devenv, where we can access root. Environment variables that contain abstract paths should be configured under devent.perWorkingDirectory.env, instead of devent.env

from devenv.

domenkozar avatar domenkozar commented on June 3, 2024

In #745 we now generate PWD instead of using --impure when using devenv cli.

from devenv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.