File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -29,4 +29,5 @@ pkgs/npm/README.md src/README.md: README.md
29
29
30
30
.PHONY : test-nix
31
31
test-nix :
32
- nix-shell --pure -E ' with import <nixpkgs> {}; mkShell { buildInputs = [ (import ./default.nix {}) ]; }' --run defang
32
+ nix run .# defang-cli
33
+
Original file line number Diff line number Diff line change 1
1
{
2
- buildGoModule ,
2
+ buildGo124Module ,
3
3
installShellFiles ,
4
4
lib ,
5
5
} :
6
- buildGoModule {
6
+ buildGo124Module {
7
7
pname = "defang-cli" ;
8
8
version = "git" ;
9
- src = ../../src ;
9
+ src = lib . cleanSource ../../src ;
10
10
vendorHash = "sha256-m8xBhpKS6Tvoik2WZbkWgM52/FkCEhbdFNRwByi30zw=" ; # TODO: use fetchFromGitHub
11
11
12
12
subPackages = [ "cmd/cli" ] ;
@@ -33,5 +33,6 @@ buildGoModule {
33
33
homepage = "https://defang.io/" ;
34
34
license = licenses . mit ;
35
35
maintainers = with maintainers ; [ lionello ] ;
36
+ mainProgram = "defang" ;
36
37
} ;
37
38
}
You can’t perform that action at this time.
0 commit comments