Skip to content

Instantly share code, notes, and snippets.

@DavHau
Created February 2, 2022 06:07
Show Gist options
  • Save DavHau/0394c9eebce2f4976e925920adb467a2 to your computer and use it in GitHub Desktop.
Save DavHau/0394c9eebce2f4976e925920adb467a2 to your computer and use it in GitHub Desktop.
dream2nix minimal flake
{
inputs.dream2nix.url = "github:nix-community/dream2nix";
outputs = { self, nixpkgs, dream2nix }@inputs:
let
dream2nix = inputs.dream2nix.lib.init {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
};
in {
packages = (dream2nix.riseAndShine {
source = with builtins; path {
name = "source";
path = self;
};
}).packages;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment