1
0
This commit is contained in:
stubbfelnewpc
2022-11-01 21:14:11 +00:00
parent 495aabf222
commit 45d89cda76
3 changed files with 3 additions and 4 deletions

View File

@@ -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.

View File

@@ -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'"

View File

@@ -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}"; };
};
});