Initial commit

main
Elnu 12 months ago
commit adbfafe702

@ -0,0 +1 @@
use flake

3
.gitignore vendored

@ -0,0 +1,3 @@
.direnv
/result
main

@ -0,0 +1,25 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1703499205,
"narHash": "sha256-lF9rK5mSUfIZJgZxC3ge40tp1gmyyOXZ+lRY3P8bfbg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e1fa12d4f6c6fe19ccb59cac54b5b3f25e160870",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

@ -0,0 +1,15 @@
{
description = "";
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
};
in {
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [ nim nimlsp ];
};
};
}

@ -0,0 +1,3 @@
echo "Hello world!"
var name: string = readLine(stdin)
echo "Hi, ", name, "!"
Loading…
Cancel
Save