Skip to content

Commit

Permalink
wave: add vagrant
Browse files Browse the repository at this point in the history
This had to be from nixpkgs-23.05-darwin because of a build failure in
grpc that I think is related to grpc/grpc#35148
  • Loading branch information
kamalmarhubi committed Jun 13, 2024
1 parent 15e2fe1 commit 3bc0216
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
17 changes: 17 additions & 0 deletions flake.lock

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

2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-24.05-darwin";
nixpkgs-2305.url = "github:nixos/nixpkgs/nixpkgs-23.05-darwin";
unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
Expand All @@ -22,6 +23,7 @@

outputs = {
nixpkgs,
nixpkgs-2305,
home-manager,
nix-darwin,
...
Expand Down
11 changes: 11 additions & 0 deletions modules/home-manager/wave.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
config,
pkgs,
lib,
inputs,
system,
...
}: let
terraformPluginCache = "${config.xdg.cacheHome}/terraform/plugin-cache";
Expand All @@ -24,6 +26,15 @@ in {
pgcli
pgformatter
steampipe
# Current vagrant doesn't build because of a build failure in grpc that may
# be related to https://github.com/grpc/grpc/issues/35148
#
# Could probably try to fix it by setting
# BUNDLE_BUILD__GRPC=--with-cflags=-Wno-error=incompatible-function-pointer-types
# in the environment?
#
# (At least chatgpt thinks so...)
inputs.nixpkgs-2305.legacyPackages.${system}.vagrant
yaml2json
];

Expand Down

0 comments on commit 3bc0216

Please sign in to comment.