Skip to content

Instantly share code, notes, and snippets.

@aodag
Created June 28, 2024 23:12
Show Gist options
  • Save aodag/2c3c44a0c80db678297600c73e454a13 to your computer and use it in GitHub Desktop.
Save aodag/2c3c44a0c80db678297600c73e454a13 to your computer and use it in GitHub Desktop.
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
# deps and tools here
];
};
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment