Giter Club home page Giter Club logo

Comments (3)

vr8hub avatar vr8hub commented on September 18, 2024

As a workaround, I've renamed the "sed" link in the devbox profile/default/bin directory to gsed (had to use sudo), but I assume that's not going to survive an update to the package, etc.?

from devbox.

Lagoja avatar Lagoja commented on September 18, 2024

Hey @vr8hub, it's not perfect, but one way to wok around this without creating a new nix package or writing Nix code would be to put something like this in the init_hook:

      "alias gsed=$(which sed)",
      "alias sed=/usr/bin/sed",

This will run everytime you start the shell, so it should survive a package update or refresh

from devbox.

vr8hub avatar vr8hub commented on September 18, 2024

Yes, thank you. I can figure out workarounds, the point is that we shouldn't have to. I've been using gnu sed on the Mac for over ten years using a variety of packaging managers, and this is the first time it hasn't been installed as gsed. That simply should be the default—nothing should override system utilities indiscriminately, and without warning or means to do something different.

from devbox.

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.