diff options
author | sefidel <contact@sefidel.net> | 2024-02-10 02:26:52 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-02-10 07:42:17 +0900 |
commit | 5b20c2cd2d26554945b8f4c2cec27b36fdbe6f3d (patch) | |
tree | a1b74d13aee091e7128dfdf5f1e3708bedce653a /default.nix | |
parent | 854fe552df5e51dd0622fd2ad48a30a31cf3665f (diff) | |
download | nixrc-5b20c2cd2d26554945b8f4c2cec27b36fdbe6f3d.tar.gz nixrc-5b20c2cd2d26554945b8f4c2cec27b36fdbe6f3d.zip |
feat(hydra): initial configuration
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..f620865 --- /dev/null +++ b/default.nix @@ -0,0 +1,10 @@ +(import + ( + let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in + fetchTarball { + url = lock.nodes.flake-compat.locked.url or "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; + sha256 = lock.nodes.flake-compat.locked.narHash; + } + ) + { src = ./.; } +).defaultNix |