Remove 'nix run'
This commit is contained in:
parent
3801d894be
commit
bc84c6744d
2 changed files with 1 additions and 9 deletions
3
.github/workflows/ci-nix.yml
vendored
3
.github/workflows/ci-nix.yml
vendored
|
@ -15,5 +15,4 @@ jobs:
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
- run: nix develop -c rustc --version
|
- run: nix develop -c rustc --version
|
||||||
- run: nix run . -- ping
|
- run: $(nix-build --no-out-link)/bin/rust-nix-template
|
||||||
- run: nix-build
|
|
||||||
|
|
|
@ -79,13 +79,6 @@
|
||||||
# `nix build`
|
# `nix build`
|
||||||
defaultPackage = packages.${name};
|
defaultPackage = packages.${name};
|
||||||
|
|
||||||
# `nix run`
|
|
||||||
apps.${name} = utils.lib.mkApp {
|
|
||||||
inherit name;
|
|
||||||
drv = packages.${name};
|
|
||||||
};
|
|
||||||
defaultApp = apps.${name};
|
|
||||||
|
|
||||||
# `nix develop`
|
# `nix develop`
|
||||||
devShell = pkgs.mkShell
|
devShell = pkgs.mkShell
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue