Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(dogfood): install nix package manager#5308

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mafredri merged 19 commits intomainfromghuntley-patch-2
Jan 26, 2023
Merged

Conversation

ghuntley
Copy link
Contributor

@ghuntleyghuntley commentedDec 6, 2022
edited
Loading

@mtojekmtojek self-requested a reviewDecember 6, 2022 13:21
Copy link
Member

@mtojekmtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Could you please share a bit more context about this change and fix the link in the description?

ghuntley reacted with thumbs up emoji
@ghuntley
Copy link
ContributorAuthor

Could you please share a bit more context about this change and fix the link in the description?

Apologies - I linked to the wrong link. See conversation at#devrandom. I use nix personally and not having access to the nix package manager is causing self-papercuts. Settingsandbox = false is key to enable installation.

CleanShot 2022-12-06 at 23 54 51@2x

Copy link
Member

@mtojekmtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM, thanks for addressing the comments! Feel free to merge if other approvers are 👍 .

@github-actions
Copy link

This Pull Request is becoming stale. In order to minimize WIP, prevent merge conflicts and keep the tracker readable, I'm going close to this PR in 3 days if there isn't more activity.

@github-actionsgithub-actionsbot added the staleThis issue is like stale bread. labelDec 20, 2022
@ghuntley
Copy link
ContributorAuthor

Thanks@mafredri and@mtojek for your eyeballs and guidance here.

Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Nice work, looking pretty clean! 👍🏻

Comment on lines 61 to 62
echo '. /home/coder/.nix-profile/etc/profile.d/nix.sh' >> /home/coder/.bashrc
bash /opt/nix/install --no-daemon
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Didn't test this, but imagine it should be a bit more portable and avoid adding the entry every startup.

Suggested change
echo './home/coder/.nix-profile/etc/profile.d/nix.sh'>>/home/coder/.bashrc
bash/opt/nix/install--no-daemon
bash/opt/nix/install--no-daemon
if! grep-q '. ~/.nix-profile/etc/profile.d/nix.sh' ~/.bashrc; then
echo '. ~/.nix-profile/etc/profile.d/nix.sh'>> ~/.bashrc
fi

Ultimately, we might want to add this logic into/etc/profile.d/nix.sh and/etc/zsh/zprofile (via Dockerfile) so that it's available in all shells. But that can be done in a separate PR.

@github-actionsgithub-actionsbot removed the staleThis issue is like stale bread. labelDec 23, 2022
@github-actions
Copy link

This Pull Request is becoming stale. In order to minimize WIP, prevent merge conflicts and keep the tracker readable, I'm going close to this PR in 3 days if there isn't more activity.

@github-actionsgithub-actionsbot added the staleThis issue is like stale bread. labelJan 6, 2023
@mafredrimafredri removed the staleThis issue is like stale bread. labelJan 18, 2023
@github-actions
Copy link

This Pull Request is becoming stale. In order to minimize WIP, prevent merge conflicts and keep the tracker readable, I'm going close to this PR in 3 days if there isn't more activity.

@github-actionsgithub-actionsbot added the staleThis issue is like stale bread. labelJan 26, 2023
@mafredrimafredri merged commitbfc8a10 intomainJan 26, 2023
@mafredrimafredri deleted the ghuntley-patch-2 branchJanuary 26, 2023 14:39
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJan 26, 2023
@mafredrimafredri restored the ghuntley-patch-2 branchJanuary 26, 2023 15:36
@matifalimatifali deleted the ghuntley-patch-2 branchJune 16, 2023 02:18
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather left review comments

@mafredrimafredrimafredri approved these changes

@mtojekmtojekmtojek approved these changes

Assignees
No one assigned
Labels
staleThis issue is like stale bread.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@ghuntley@mafredri@deansheather@mtojek@kylecarbs

[8]ページ先頭

©2009-2025 Movatter.jp