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
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0="
fi
use_flake
use flake

View file

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

View file

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