Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Commit

Permalink
fix: switch to new FH entry
Browse files Browse the repository at this point in the history
  • Loading branch information
GetPsyched committed Dec 6, 2023
1 parent 842770f commit 6b461c1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
23 changes: 12 additions & 11 deletions flake.lock

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

13 changes: 7 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@
description = "breadboard's development environment";

inputs = {
go-env.url = "https://flakehub.com/f/GetPsyched/go-env/0.x.x.tar.gz";
go-env.inputs.nixpkgs.follows = "nixpkgs";
flakey-devShells.url = "https://flakehub.com/f/GetPsyched/not-so-flakey-devshells/0.x.x.tar.gz";
flakey-devShells.inputs.nixpkgs.follows = "nixpkgs";
};

outputs = inputs@{ nixpkgs, go-env, ... }:
outputs = inputs@{ nixpkgs, flakey-devShells, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
go-env-pkgs = go-env.outputs.packages.${system};
flakey-devShell-pkgs = flakey-devShells.outputs.packages.${system};
in
{
devShells.${system}.default = pkgs.mkShell {
buildInputs = [
pkgs.sqlc
go-env-pkgs.default
go-env-pkgs.vscode

(flakey-devShell-pkgs.default.override { environments = [ "nix" "go" ]; })
(flakey-devShell-pkgs.vscodium.override { environments = [ "nix" "go" ]; })
];
};
};
Expand Down

0 comments on commit 6b461c1

Please sign in to comment.