commit 6624edab682df3cd0910d4e7393ae1517af2380f Author: Anurag Ohri Date: Thu Nov 17 17:39:44 2022 +0530 first commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e2f5dd2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +result \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..995de7d --- /dev/null +++ b/README.md @@ -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 \ No newline at end of file diff --git a/builder.sh b/builder.sh new file mode 100644 index 0000000..d4e12aa --- /dev/null +++ b/builder.sh @@ -0,0 +1,2 @@ +"${coreutils}/bin/mkdir" $out +"${gcc}/bin/gcc" -o $out/hello $src diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..3200195 --- /dev/null +++ b/default.nix @@ -0,0 +1,9 @@ +with (import {}); +derivation { + inherit gcc coreutils; + name = "myhello-0.0.1"; + builder = "${bash}/bin/bash"; + args = [ ./builder.sh ]; + system = "x86_64-linux"; + src = ./hello.c; +} \ No newline at end of file diff --git a/hello.c b/hello.c new file mode 100644 index 0000000..8feefa2 --- /dev/null +++ b/hello.c @@ -0,0 +1,6 @@ +#include + +int main() { + printf("Hello World!"); + return 0; +} \ No newline at end of file diff --git a/release.nix b/release.nix new file mode 100644 index 0000000..3200195 --- /dev/null +++ b/release.nix @@ -0,0 +1,9 @@ +with (import {}); +derivation { + inherit gcc coreutils; + name = "myhello-0.0.1"; + builder = "${bash}/bin/bash"; + args = [ ./builder.sh ]; + system = "x86_64-linux"; + src = ./hello.c; +} \ No newline at end of file