Skip to content

Instantly share code, notes, and snippets.

@mammothbane
Last active January 3, 2021 15:03
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 mammothbane/f44a1ebdde8d0198bf30073e145e7533 to your computer and use it in GitHub Desktop.
Save mammothbane/f44a1ebdde8d0198bf30073e145e7533 to your computer and use it in GitHub Desktop.
base flake
{
inputs = {
nixpkgs.url = github:nixos/nixpkgs/master;
flake-utils.url = github:numtide/flake-utils;
};
description = "";
outputs = { self, nixpkgs, flake-utils }: (flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
pkg = ;
in {
defaultPackage = pkg;
defaultApp = {
type = "app";
program = "${pkg}/bin/";
};
})
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment