mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-25 20:40:24 +00:00
76f9084f91
* Add default.nix for nix support * Convert to flake * gitignore before building the source * Add default.nix and shell.nix for legacy workflows * Use https://github.com/oxalica/rust-overlay This one works for development workflow, with a functional rust-analyzer for using with language server support in IDEs. Also add .vscode/ for pre-configured settings. * Add documentation * Restore old TOC and apply TOC patch manually * Clarify that these two commands are either-or * Add installing from local checkout (nix-env) * Add note about version update * Improve Nix workflow, for zero maintenance Use https://github.com/nmattia/naersk This avoids having to set a sha and version in Nix scripts. * Simplify using crate2nix Ref: https://www.reddit.com/r/rust/comments/mmbfnj/nixifying_a_rust_project/ * Use rootCrate * Propagate openssl deps to non-shell build * Try the oxalica overlay * Get rid of gitignore crate cf. https://www.reddit.com/r/rust/comments/mmbfnj/nixifying_a_rust_project/gtsgxal/?context=3 * Configure himalaya crate under defaultCrateOverrides * Specify openssl in buildInputs * Make a note about a potential error when using Nix 2.4pre * Remove PKG_CONFIG_PATH (unnecessary) * Add cargo-watch Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru> Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru>
128 lines
3.3 KiB
JSON
128 lines
3.3 KiB
JSON
{
|
|
"nodes": {
|
|
"crate2nix": {
|
|
"flake": false,
|
|
"locked": {
|
|
"lastModified": 1608814925,
|
|
"narHash": "sha256-GdFBG2LmpbY4C1OJBFfWLMKXzGyFq4mJBK+SVMNNE+8=",
|
|
"owner": "balsoft",
|
|
"repo": "crate2nix",
|
|
"rev": "68be3d90f31bf0bfd525da77e0ae6e89f48abd24",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "balsoft",
|
|
"ref": "tools-nix-version-comparison",
|
|
"repo": "crate2nix",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"flake-compat": {
|
|
"flake": false,
|
|
"locked": {
|
|
"lastModified": 1606424373,
|
|
"narHash": "sha256-oq8d4//CJOrVj+EcOaSXvMebvuTkmBJuT5tzlfewUnQ=",
|
|
"owner": "edolstra",
|
|
"repo": "flake-compat",
|
|
"rev": "99f1c2157fba4bfe6211a321fd0ee43199025dbf",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "edolstra",
|
|
"repo": "flake-compat",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"flake-utils": {
|
|
"locked": {
|
|
"lastModified": 1614513358,
|
|
"narHash": "sha256-LakhOx3S1dRjnh0b5Dg3mbZyH0ToC9I8Y2wKSkBaTzU=",
|
|
"owner": "numtide",
|
|
"repo": "flake-utils",
|
|
"rev": "5466c5bbece17adaab2d82fae80b46e807611bf3",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "numtide",
|
|
"repo": "flake-utils",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1617636226,
|
|
"narHash": "sha256-iZhBWrOR2DoDs1C+0FlnM9AQLMol/qoGQ+d+S43CKJM=",
|
|
"owner": "nixos",
|
|
"repo": "nixpkgs",
|
|
"rev": "3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nixos",
|
|
"ref": "nixos-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs_2": {
|
|
"locked": {
|
|
"lastModified": 1617325113,
|
|
"narHash": "sha256-GksR0nvGxfZ79T91UUtWjjccxazv6Yh/MvEJ82v1Xmw=",
|
|
"owner": "nixos",
|
|
"repo": "nixpkgs",
|
|
"rev": "54c1e44240d8a527a8f4892608c4bce5440c3ecb",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"crate2nix": "crate2nix",
|
|
"flake-compat": "flake-compat",
|
|
"nixpkgs": "nixpkgs",
|
|
"rust-overlay": "rust-overlay",
|
|
"utils": "utils"
|
|
}
|
|
},
|
|
"rust-overlay": {
|
|
"inputs": {
|
|
"flake-utils": "flake-utils",
|
|
"nixpkgs": "nixpkgs_2"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1617848844,
|
|
"narHash": "sha256-nhPuATSHRrzfZNjtl8zmMhZklYFCHiQd7+uf+jQbd+o=",
|
|
"owner": "oxalica",
|
|
"repo": "rust-overlay",
|
|
"rev": "70330a767d25daa6063e89e38d68b94b2d971831",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "oxalica",
|
|
"repo": "rust-overlay",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"utils": {
|
|
"locked": {
|
|
"lastModified": 1617631617,
|
|
"narHash": "sha256-PARRCz55qN3gy07VJZIlFeOX420d0nGF0RzGI/9hVlw=",
|
|
"owner": "numtide",
|
|
"repo": "flake-utils",
|
|
"rev": "b2c27d1a81b0dc266270fa8aeecebbd1807fc610",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "numtide",
|
|
"repo": "flake-utils",
|
|
"type": "github"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|