![]() # After nix flake lock -update-input nixcasks & home-manager switch Lrwxr-xr-x 1 root wheel 75 'Applications/Home Manager Apps/mpv.app' -> /nix/store/4kddwv6zhxcbgnw3djmj68lp0d1dyn6w-mpv-0.35.1/Applications/mpv.app Lrwxr-xr-x 1 root wheel 88 'Applications/Home Manager Apps/mpv.app' -> /nix/store/w8gpl79980ip3kypsvlgq9gph9v039js-mpv-with-scripts-0.35.1/Applications/mpv.app ✦ > ls -l Applications/Home\ Manager\ Apps/mpv.app I have been able to install several packages this way already, and I was lucky enough that between the start of this project and first barely usable version MPV’s cask was updated by the Homebrew folks, so I can show a little how it works: # Installed via Nixpkgs ![]() I’m using Homebrew Casks JSON file as the source of package data (versions, URLs, checksums) which is then used in mkDerivation to download binaries and install them into the Nix Store. ![]() The idea is to use Homebrew Cask definitions to declaratively manage macOS applications, many of which (among them Firefox, VLC, LibreOffice…) are not supported in Nixpkgs. I didn’t find anything like that so I decided to try it myself, and after a little hacking I am happy to anounce a new project: nixcasks. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |