-
Notifications
You must be signed in to change notification settings - Fork 0
Nix
Kenichi Kamiya edited this page Jun 10, 2025
·
11 revisions
- https://nixos.wiki/wiki/Overlays#Overriding_a_version
- https://stackoverflow.com/questions/65970915/how-can-i-override-a-package-source-in-nix
"${src}"$NIX_BUILD_TOP/$sourceRootThey put flake.nix with minimum packages. And .gitignores clarified.vscode and .envrc.
So I enable direnv for the purpose with putting following files.
echo 'use flake' > .envrc
mkdir -p .vscode
<.devcontainer/devcontainer.json | nu --stdin --commands 'from json | to json' | jq '.customizations.vscode.settings' > .vscode/settings.jsonHowever nixd is only appears in devcontainer for now, so manually remove the entry or inject it in devshell
nix-shell --packages nixd --command zsh-
desktop-file-edithttps://github.com/NixOS/nixpkgs/pull/413657/files#r2132255008