Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a better way to add nix to path #391

Open
staticdev opened this issue Jul 2, 2023 · 0 comments
Open

Find a better way to add nix to path #391

staticdev opened this issue Jul 2, 2023 · 0 comments
Labels
refactoring Refactoring

Comments

@staticdev
Copy link
Owner

staticdev commented Jul 2, 2023

ableton.nix currently does not do that and just adding to packages.yml:

- name: Add Nix to PATH
  ansible.builtin.set_fact:
    ansible_env: "{{ ansible_env | combine({'PATH': ansible_env.HOME + '/.nix-profile/bin:' + ansible_env.PATH}) }}"

Did not work. Currently all commands have appended:

  environment:
    PATH: "{{ ansible_env.HOME + '/.nix-profile/bin:$PATH' }}

Find a better solution and remove it.

@staticdev staticdev added the refactoring Refactoring label Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Refactoring
Projects
None yet
Development

No branches or pull requests

1 participant