flake stuff

putting the inputs inside out like they were will prevent updates to
deps unless i update tap first. i think? which probably doesn't matter,
but it might
This commit is contained in:
rhiannon morris 2022-10-06 21:16:54 +02:00
parent 8a55cc9581
commit 8c05957f60
2 changed files with 31 additions and 21 deletions

View File

@ -250,7 +250,6 @@
"effect": "effect", "effect": "effect",
"elab-util": "elab-util", "elab-util": "elab-util",
"flake-utils": [ "flake-utils": [
"tap",
"flake-utils" "flake-utils"
], ],
"frex": "frex", "frex": "frex",
@ -267,7 +266,6 @@
"katla": "katla", "katla": "katla",
"lsp": "lsp", "lsp": "lsp",
"nixpkgs": [ "nixpkgs": [
"tap",
"nixpkgs" "nixpkgs"
], ],
"odf": "odf", "odf": "odf",
@ -487,18 +485,9 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": "flake-utils",
"tap", "idris2-pkgs": "idris2-pkgs",
"flake-utils" "nixpkgs": "nixpkgs",
],
"idris2-pkgs": [
"tap",
"idris2-pkgs"
],
"nixpkgs": [
"tap",
"nixpkgs"
],
"tap": "tap" "tap": "tap"
} }
}, },
@ -552,9 +541,15 @@
}, },
"tap": { "tap": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": [
"idris2-pkgs": "idris2-pkgs", "flake-utils"
"nixpkgs": "nixpkgs" ],
"idris2-pkgs": [
"idris2-pkgs"
],
"nixpkgs": [
"nixpkgs"
]
}, },
"locked": { "locked": {
"lastModified": 1660774921, "lastModified": 1660774921,

View File

@ -1,10 +1,25 @@
{ description = "quox: quantitative extensional type theory"; { description = "quox: quantitative extensional type theory";
inputs = { inputs = {
tap.url = "git+https://git.rhiannon.website/rhi/idris2-tap?ref=main"; nixpkgs.url = "nixpkgs/21.11";
nixpkgs.follows = "tap/nixpkgs";
flake-utils.follows = "tap/flake-utils"; flake-utils = {
idris2-pkgs.follows = "tap/idris2-pkgs"; url = "github:numtide/flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
idris2-pkgs = {
url = "github:claymager/idris2-pkgs";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
tap = {
url = "git+https://git.rhiannon.website/rhi/idris2-tap?ref=main";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.idris2-pkgs.follows = "idris2-pkgs";
};
}; };
outputs = { self, nixpkgs, idris2-pkgs, flake-utils, tap }: outputs = { self, nixpkgs, idris2-pkgs, flake-utils, tap }: