add compat for sr.ht
This commit is contained in:
parent
44d840aa4a
commit
f5109e3f6f
2 changed files with 17 additions and 1 deletions
|
@ -7,7 +7,8 @@ secrets:
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- check: |
|
- check: |
|
||||||
nix flake check
|
cd dotfiles
|
||||||
|
nix-shell --pure --run 'nix-experimental flake check'
|
||||||
- github_push: |
|
- github_push: |
|
||||||
set +xv
|
set +xv
|
||||||
cd dotfiles
|
cd dotfiles
|
||||||
|
|
15
shell.nix
Normal file
15
shell.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
let
|
||||||
|
nixpkgs = import <nixpkgs> {};
|
||||||
|
in
|
||||||
|
with nixpkgs;
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "legacy_shell";
|
||||||
|
buildInputs = [
|
||||||
|
(pkgs.writeShellScriptBin "nix-experimental" ''
|
||||||
|
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
|
||||||
|
'')
|
||||||
|
git
|
||||||
|
];
|
||||||
|
shellHook = ''
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue