fix hook
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
"jnoortheen.nix-ide",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"eamodio.gitlens",
|
||||
"mhutchie.git-graph",
|
||||
"streetsidesoftware.code-spell-checker"
|
||||
],
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## Nix Flake commands
|
||||
|
||||
```sh
|
||||
# nix flake are experimental and required following options --experimental-features 'nix-command flakes'
|
||||
# nix flake are experimental and required following options --experimental-features 'nix-command flakes'
|
||||
# create alias for nix --experimental-features 'nix-command flakes'
|
||||
|
||||
alias nixe && echo Alias for nixe exists || alias nixe="nix --experimental-features 'nix-command flakes'"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
|
||||
devTaskScripts = forAllSystems (system:
|
||||
{
|
||||
autoTag = nixpkgsFor.${system}.writeShellScriptBin "auto_tag.sh" ''
|
||||
autoTag = nixpkgsFor.${system}.writeScript "auto_tag.sh" ''
|
||||
git tag --force v${version}
|
||||
git push origin v${version}
|
||||
'';
|
||||
@@ -39,7 +39,7 @@
|
||||
default = { type = "app"; program = "${packages.${system}.default}/bin/hello.sh"; };
|
||||
devTasks = {
|
||||
updateFlakeLock = { type = "app"; program = "${updateLockScript}/bin/update_flake_lock.sh"; };
|
||||
autoTag = { type = "app"; program = "${devTaskScripts.${system}.autoTag}/bin/auto_tag.sh"; };
|
||||
autoTag = { type = "app"; program = "${devTaskScripts.${system}.autoTag}"; };
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user