First commit
All checks were successful

This commit is contained in:
Anurag Ohri 2023-01-12 17:39:20 +05:30
commit 0fa46caa53
6 changed files with 74 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
result

47
README.md Normal file
View File

@ -0,0 +1,47 @@
# smithy-test
Hello hello my friends
Will be used to setup Smithy locally
Push test
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
Update PR
Test on Prod
Merge job updates
Commit Status Update Merge
Commit Status Push

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;
}