Created
November 7, 2021 17:05
-
-
Save rbreslow/546c000c6de30ada77e18c554c4b8dda to your computer and use it in GitHub Desktop.
An example skeleton for Nix development environments using the flake default package.
This file contains 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 = { | |
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; | |
flake-utils.url = "github:numtide/flake-utils"; | |
}; | |
outputs = { self, nixpkgs, flake-utils }: | |
flake-utils.lib.simpleFlake { | |
inherit self nixpkgs; | |
name = "joker"; | |
shell = ./shell.nix; | |
systems = ["x86_64-linux" "x86_64-darwin"]; | |
}; | |
} |
This file contains 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
{ pkgs ? import <nixpkgs> }: | |
pkgs.mkShell { | |
buildInputs = [ pkgs.jq ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment