Skip to content

Commit

Permalink
Add flake
Browse files Browse the repository at this point in the history
  • Loading branch information
BBB committed Oct 19, 2023
1 parent ebc98bf commit 46ab362
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 0 deletions.
78 changes: 78 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions flake.nix
@@ -0,0 +1,20 @@
{
description = "BBB:hex-http";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.nixpkgs-temurin-21.url = "github:Infinidoge/nixpkgs/feat/temurin-bin-21";
inputs.flake-utils.url = "github:numtide/flake-utils";

outputs = { self, nixpkgs, nixpkgs-temurin-21, flake-utils }:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
fork = nixpkgs-temurin-21.legacyPackages.${system};
in {
devShells.default = pkgs.mkShell rec {
packages = with pkgs; [
direnv
git
fork.temurin-bin-21
];
};
});
}

0 comments on commit 46ab362

Please sign in to comment.