Created
March 13, 2022 18:39
-
-
Save collinarnett/f12570d2b41c32eb6587567d9e39d4d7 to your computer and use it in GitHub Desktop.
Developing with nix flakes and nickel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
inputs = { | |
flake-utils.url = "github:numtide/flake-utils"; | |
nickel.url = "github:tweag/nickel"; | |
}; | |
outputs = { self, nixpkgs, flake-utils, nickel }@inputs: | |
flake-utils.lib.eachDefaultSystem (system: | |
let pkgs = nixpkgs.legacyPackages.${system}; | |
in rec { | |
devShell = | |
pkgs.mkShell { buildInputs = [ nickel.defaultPackage.${system} ]; }; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment