Skip to content

Instantly share code, notes, and snippets.

@emiel
Last active October 6, 2022 19:44
Show Gist options
  • Save emiel/0f187fc95a64e60fb6b9b9d4cb1bd873 to your computer and use it in GitHub Desktop.
Save emiel/0f187fc95a64e60fb6b9b9d4cb1bd873 to your computer and use it in GitHub Desktop.
A very basic flake
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in {
devShell = pkgs.mkShell {
buildInputs = with pkgs; [ git vim ];
};
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment