Giter VIP home page Giter VIP logo

Comments (5)

actionless avatar actionless commented on June 16, 2024

--preserve-env is intended, so you can do stuff like MY_ENV=foo pikaur -S some-pkg, so i guess when running cmds as root some of the env vars should be excluded

from pikaur.

neocturne avatar neocturne commented on June 16, 2024

Do you have examples for variables that are useful to pass to pacman at all? Or are there other commands besides pacman that pikaur runs as root?

I'd rather opt-in than opt-out passing variables. Maybe something like pikaur --env MY_ENV=foo -S some-pkg, or a list of allowed variables in pikaur.conf?

from pikaur.

actionless avatar actionless commented on June 16, 2024

Thanks for reporting!
You can check with pikaur-git AUR package if it works for you now.

from pikaur.

actionless avatar actionless commented on June 16, 2024

i've just made the allow-list hardcoded by now: f457b7e#diff-3ea9f507b011ec8e3424ba3685ee193011e370fedd5ea290d5643d1aa49d10aeR18

if people would need more env vars - i'll make it configurable via the config file

from pikaur.

neocturne avatar neocturne commented on June 16, 2024

Thanks for the quick fix. No further issues with pikaur-git 👍

from pikaur.

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.