Fix dev shell upload to cache

This commit is contained in:
Luc Perkins 2024-03-29 16:26:26 -03:00
parent 45bb610359
commit 898456dffe
No known key found for this signature in database
GPG key ID: 16DB1108FB591835
3 changed files with 5 additions and 7 deletions

6
.envrc
View file

@ -1,5 +1 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.1.1; then use flake
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0="
fi
use_flake

View file

@ -21,6 +21,8 @@ jobs:
runner: "macos-12" runner: "macos-12"
- nix-system: "x86_64-linux" - nix-system: "x86_64-linux"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
shells:
- default
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/nix-installer-action@main

View file

@ -46,7 +46,6 @@
default = magic-nix-cache; default = magic-nix-cache;
}); });
/*
devShells = forEachSupportedSystem ({ pkgs, cranePkgs, lib }: { devShells = forEachSupportedSystem ({ pkgs, cranePkgs, lib }: {
default = pkgs.mkShell { default = pkgs.mkShell {
inputsFrom = [ cranePkgs.magic-nix-cache ]; inputsFrom = [ cranePkgs.magic-nix-cache ];
@ -63,6 +62,7 @@
]; ];
}; };
/*
cross = pkgs.mkShell ({ cross = pkgs.mkShell ({
inputsFrom = [ cranePkgs.magic-nix-cache ]; inputsFrom = [ cranePkgs.magic-nix-cache ];
packages = with pkgs; [ packages = with pkgs; [
@ -156,7 +156,7 @@
age age
]; ];
}; };
*/
}); });
*/
}; };
} }