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