-
-
Save asymmetric/bc72962c8a15ac7b48c3847b0d57dfeb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodes": { | |
"devenv": { | |
"locked": { | |
"dir": "src/modules", | |
"lastModified": 1687106808, | |
"narHash": "sha256-RGDvxJA0bwfh6nx5qY/5CoDGZd13R4PIFG0JT729Yl4=", | |
"owner": "cachix", | |
"repo": "devenv", | |
"rev": "93ee7875ff1622d496da80414724bae0263c1d23", | |
"type": "github" | |
}, | |
"original": { | |
"dir": "src/modules", | |
"owner": "cachix", | |
"repo": "devenv", | |
"type": "github" | |
} | |
}, | |
"flake-compat": { | |
"flake": false, | |
"locked": { | |
"lastModified": 1673956053, | |
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", | |
"owner": "edolstra", | |
"repo": "flake-compat", | |
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "edolstra", | |
"repo": "flake-compat", | |
"type": "github" | |
} | |
}, | |
"flake-utils": { | |
"locked": { | |
"lastModified": 1653893745, | |
"narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=", | |
"owner": "numtide", | |
"repo": "flake-utils", | |
"rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "numtide", | |
"repo": "flake-utils", | |
"type": "github" | |
} | |
}, | |
"flake-utils_2": { | |
"inputs": { | |
"systems": "systems" | |
}, | |
"locked": { | |
"lastModified": 1685518550, | |
"narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", | |
"owner": "numtide", | |
"repo": "flake-utils", | |
"rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "numtide", | |
"repo": "flake-utils", | |
"type": "github" | |
} | |
}, | |
"gitignore": { | |
"inputs": { | |
"nixpkgs": [ | |
"pre-commit-hooks", | |
"nixpkgs" | |
] | |
}, | |
"locked": { | |
"lastModified": 1660459072, | |
"narHash": "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=", | |
"owner": "hercules-ci", | |
"repo": "gitignore.nix", | |
"rev": "a20de23b925fd8264fd7fad6454652e142fd7f73", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "hercules-ci", | |
"repo": "gitignore.nix", | |
"type": "github" | |
} | |
}, | |
"mk-shell-bin": { | |
"locked": { | |
"lastModified": 1677004959, | |
"narHash": "sha256-/uEkr1UkJrh11vD02aqufCxtbF5YnhRTIKlx5kyvf+I=", | |
"owner": "rrbutani", | |
"repo": "nix-mk-shell-bin", | |
"rev": "ff5d8bd4d68a347be5042e2f16caee391cd75887", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "rrbutani", | |
"repo": "nix-mk-shell-bin", | |
"type": "github" | |
} | |
}, | |
"nix2container": { | |
"inputs": { | |
"flake-utils": "flake-utils", | |
"nixpkgs": [ | |
"nixpkgs" | |
] | |
}, | |
"locked": { | |
"lastModified": 1685771919, | |
"narHash": "sha256-3lVKWrhNXjHJB6QkZ2SJaOs4X/mmYXtY6ovPVpDMOHc=", | |
"owner": "nlewo", | |
"repo": "nix2container", | |
"rev": "95e2220911874064b5d809f8d35f7835184c4ddf", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "nlewo", | |
"repo": "nix2container", | |
"type": "github" | |
} | |
}, | |
"nixpkgs": { | |
"locked": { | |
"lastModified": 1687130670, | |
"narHash": "sha256-VKTdfsJe7sVTTqxTd3eRGPoUgEeJKD+kwS86B6TY874=", | |
"owner": "NixOS", | |
"repo": "nixpkgs", | |
"rev": "c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "NixOS", | |
"ref": "nixpkgs-unstable", | |
"repo": "nixpkgs", | |
"type": "github" | |
} | |
}, | |
"nixpkgs-stable": { | |
"locked": { | |
"lastModified": 1685801374, | |
"narHash": "sha256-otaSUoFEMM+LjBI1XL/xGB5ao6IwnZOXc47qhIgJe8U=", | |
"owner": "NixOS", | |
"repo": "nixpkgs", | |
"rev": "c37ca420157f4abc31e26f436c1145f8951ff373", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "NixOS", | |
"ref": "nixos-23.05", | |
"repo": "nixpkgs", | |
"type": "github" | |
} | |
}, | |
"pre-commit-hooks": { | |
"inputs": { | |
"flake-compat": "flake-compat", | |
"flake-utils": "flake-utils_2", | |
"gitignore": "gitignore", | |
"nixpkgs": [ | |
"nixpkgs" | |
], | |
"nixpkgs-stable": "nixpkgs-stable" | |
}, | |
"locked": { | |
"lastModified": 1687251716, | |
"narHash": "sha256-+sFS41thsB5U+lY/dBYPSmU4AJ7nz/VdM1WD35fXVeM=", | |
"owner": "cachix", | |
"repo": "pre-commit-hooks.nix", | |
"rev": "7807e1851d95828ed98491930d2d9e7ddbe65da4", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "cachix", | |
"repo": "pre-commit-hooks.nix", | |
"type": "github" | |
} | |
}, | |
"root": { | |
"inputs": { | |
"devenv": "devenv", | |
"mk-shell-bin": "mk-shell-bin", | |
"nix2container": "nix2container", | |
"nixpkgs": "nixpkgs", | |
"pre-commit-hooks": "pre-commit-hooks" | |
} | |
}, | |
"systems": { | |
"locked": { | |
"lastModified": 1681028828, | |
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", | |
"owner": "nix-systems", | |
"repo": "default", | |
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "nix-systems", | |
"repo": "default", | |
"type": "github" | |
} | |
} | |
}, | |
"root": "root", | |
"version": 7 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, ... }: | |
{ | |
# https://devenv.sh/basics/ | |
env.GREET = "devenv"; | |
# https://devenv.sh/packages/ | |
packages = [ pkgs.git ]; | |
# https://devenv.sh/scripts/ | |
scripts.hello.exec = "echo hello from $GREET"; | |
enterShell = '' | |
hello | |
git --version | |
''; | |
# https://devenv.sh/languages/ | |
languages.python.enable = true; | |
# https://devenv.sh/pre-commit-hooks/ | |
# pre-commit.hooks.shellcheck.enable = true; | |
# https://devenv.sh/processes/ | |
# processes.ping.exec = "ping example.com"; | |
# See full reference at https://devenv.sh/reference/options/ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inputs: | |
nixpkgs: | |
url: github:NixOS/nixpkgs/nixpkgs-unstable | |
nix2container: | |
url: github:nlewo/nix2container | |
inputs: | |
nixpkgs: | |
follows: nixpkgs | |
mk-shell-bin: | |
url: github:rrbutani/nix-mk-shell-bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment