Skip to content

Instantly share code, notes, and snippets.

@lionello
Created August 30, 2022 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lionello/a601a3e091cea9cac7117048fb0fc806 to your computer and use it in GitHub Desktop.
Save lionello/a601a3e091cea9cac7117048fb0fc806 to your computer and use it in GitHub Desktop.
Generic flake.nix for migrating from shell.nix
{
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
(system:
let pkgs = nixpkgs.legacyPackages.${system}; in
{
devShells.default = import ./shell.nix { inherit pkgs; };
}
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment