a9a36793ad
This PR introduces a Nix flake, allowing for InfiniTime to be built as a
Flake, including a FHS development environment.
It's derived from #1850 and
c57c57f3c6
.
We also introduce `flake-compat`, allowing for non-Flake Nix mahcines to
use the project as-is, both for building (`default.nix`), and
development (`shell.nix`).
Additionally, we introduce `.envrc`, meaning that with `direnv`, the Nix
Flake is activated automatically.
Fixes #1850.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"nodes": {
|
|
"flake-compat": {
|
|
"locked": {
|
|
"lastModified": 1696426674,
|
|
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
|
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
|
"revCount": 57,
|
|
"type": "tarball",
|
|
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz"
|
|
},
|
|
"original": {
|
|
"type": "tarball",
|
|
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
|
|
}
|
|
},
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1725634671,
|
|
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
|
|
"owner": "nixos",
|
|
"repo": "nixpkgs",
|
|
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nixos",
|
|
"ref": "nixos-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"flake-compat": "flake-compat",
|
|
"nixpkgs": "nixpkgs"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|