Fix dev shell upload to cache
This commit is contained in:
parent
45bb610359
commit
898456dffe
6
.envrc
6
.envrc
|
@ -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
|
|
||||||
|
|
2
.github/workflows/flakehub-cache.yml
vendored
2
.github/workflows/flakehub-cache.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
});
|
});
|
||||||
*/
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue