mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-22 02:50:19 +00:00
ed5407a5c7
As requested in <https://todo.sr.ht/~soywod/pimalaya/131> I removed flake-utils. This reduces the number of flake inputs and doesn't add much code. The way this works, is that instead of `eachDefaultSystem` we have a function `forEachSupportedSystem`, this function generates an attrset with a key for each system in the `supportedSystems` array, whose value is the result of calling the provided function with the system as an argument: ```nix repl repl> forEachSupportedSystem f { "x86_64-linux" = f "x86_64-linux"; ... } ``` This is slightly clumsier than `flake-utils.lib.eachDefaultSystem`, which rewrites the returned attrset, but it is much less code and simpler to understand. I tested the build with `nix build` on `x86_64-linux` and it still works c:
125 lines
3.1 KiB
JSON
125 lines
3.1 KiB
JSON
{
|
|
"nodes": {
|
|
"fenix": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
],
|
|
"rust-analyzer-src": "rust-analyzer-src"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1708842026,
|
|
"narHash": "sha256-1r+7l66CFPCjRDZEKq6r7aCpfjqhIkrF3ZTQyEFnkTs=",
|
|
"owner": "nix-community",
|
|
"repo": "fenix",
|
|
"rev": "b7fff64b5bc36b1662f8317632b11b15b3839b2a",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-community",
|
|
"repo": "fenix",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"flake-compat": {
|
|
"flake": false,
|
|
"locked": {
|
|
"lastModified": 1696426674,
|
|
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
|
"owner": "edolstra",
|
|
"repo": "flake-compat",
|
|
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "edolstra",
|
|
"repo": "flake-compat",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"gitignore": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1703887061,
|
|
"narHash": "sha256-gGPa9qWNc6eCXT/+Z5/zMkyYOuRZqeFZBDbopNZQkuY=",
|
|
"owner": "hercules-ci",
|
|
"repo": "gitignore.nix",
|
|
"rev": "43e1aa1308018f37118e34d3a9cb4f5e75dc11d5",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "hercules-ci",
|
|
"repo": "gitignore.nix",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"naersk": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1698420672,
|
|
"narHash": "sha256-/TdeHMPRjjdJub7p7+w55vyABrsJlt5QkznPYy55vKA=",
|
|
"owner": "nix-community",
|
|
"repo": "naersk",
|
|
"rev": "aeb58d5e8faead8980a807c840232697982d47b9",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-community",
|
|
"repo": "naersk",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1708702655,
|
|
"narHash": "sha256-qxT5jSLhelfLhQ07+AUxSTm1VnVH+hQxDkQSZ/m/Smo=",
|
|
"owner": "nixos",
|
|
"repo": "nixpkgs",
|
|
"rev": "c5101e457206dd437330d283d6626944e28794b3",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nixos",
|
|
"ref": "nixos-23.11",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"fenix": "fenix",
|
|
"flake-compat": "flake-compat",
|
|
"gitignore": "gitignore",
|
|
"naersk": "naersk",
|
|
"nixpkgs": "nixpkgs"
|
|
}
|
|
},
|
|
"rust-analyzer-src": {
|
|
"flake": false,
|
|
"locked": {
|
|
"lastModified": 1708768292,
|
|
"narHash": "sha256-IBHMNEe3lspVdIzjpM2OVZiBFmFw1DKtdgVN5G41pRc=",
|
|
"owner": "rust-lang",
|
|
"repo": "rust-analyzer",
|
|
"rev": "4a8d0f7f565b6df45da5522dd7366a4df3460cd7",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "rust-lang",
|
|
"ref": "nightly",
|
|
"repo": "rust-analyzer",
|
|
"type": "github"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|