first commit

This commit is contained in:
Anurag Ohri 2022-11-17 17:39:44 +05:30
commit 6624edab68
6 changed files with 70 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
result

43
README.md Normal file
View File

@ -0,0 +1,43 @@
# smithy-test
Will be used to setup Smithy locally
try and try again
one more time
again!
yup
two
three
final
new encoders
once more
again
and again
Testing
test
App testing
Webhook testing
Webhook testing
Webhook testing
Webhook testing
Webhook testing
Webhook testing
Webhook testing
Webhook testing
Webhook testing
Webhook testing
Webhook testing

2
builder.sh Normal file
View File

@ -0,0 +1,2 @@
"${coreutils}/bin/mkdir" $out
"${gcc}/bin/gcc" -o $out/hello $src

9
default.nix Normal file
View File

@ -0,0 +1,9 @@
with (import <nixpkgs> {});
derivation {
inherit gcc coreutils;
name = "myhello-0.0.1";
builder = "${bash}/bin/bash";
args = [ ./builder.sh ];
system = "x86_64-linux";
src = ./hello.c;
}

6
hello.c Normal file
View File

@ -0,0 +1,6 @@
#include<stdio.h>
int main() {
printf("Hello World!");
return 0;
}

9
release.nix Normal file
View File

@ -0,0 +1,9 @@
with (import <nixpkgs> {});
derivation {
inherit gcc coreutils;
name = "myhello-0.0.1";
builder = "${bash}/bin/bash";
args = [ ./builder.sh ];
system = "x86_64-linux";
src = ./hello.c;
}