Translations:Flakes/51/en: Difference between revisions
Appearance
Importing a new version from external source Tags: Mobile edit Mobile web edit |
(No difference)
|
Revision as of 09:45, 30 July 2024
There exists the flake-compat library that you can use to shim default.nix
and shell.nix
files. It will download the inputs of the flake, pass them to the flake’s outputs
function and return an attribute set containing defaultNix
and shellNix
attributes. The attributes will contain the output attribute set with an extra default
attribute pointing to current platform’s defaultPackage
(resp. devShell
for shellNix
).