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

Ilia - Version Pinning and Reporducibility #3

Open
sandptel opened this issue May 10, 2024 · 1 comment
Open

Ilia - Version Pinning and Reporducibility #3

sandptel opened this issue May 10, 2024 · 1 comment

Comments

@sandptel
Copy link
Owner

https://github.com/sandptel/regolith-nix/blame/465e28bc593f5447fdb3e6e41c9df65209eb8aa9/ilia.nix#L65

 postInstall = ''
    mkdir -p $out/share/glib-2.0/schemas/
    glib-compile-schemas --targetdir=$out/share/glib-2.0/schemas $src/data
    wrapProgram "$out/bin/ilia" --set XDG_DATA_DIRS "$out/share/gsettings-schemas/ilia-3.1"
  '';

Mentioning 3.1 in wrapping the binary can cause future errors when the main package version would be updated.

@SoumyaRanjanPatnaik
Copy link

I suppose the package manager should take care of this automatically. Most package managers keep track of the files associated with the packages, and ensure that the necessary cleanup happens during updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants