diff --git a/flake.lock b/flake.lock index 8af6033f5..400acf062 100644 --- a/flake.lock +++ b/flake.lock @@ -37,7 +37,8 @@ "root": { "inputs": { "flake-utils": "flake-utils", - "nixpkgsUnstable": "nixpkgsUnstable" + "nixpkgsUnstable": "nixpkgsUnstable", + "uplosi": "uplosi" } }, "systems": { @@ -54,6 +55,29 @@ "repo": "default", "type": "github" } + }, + "uplosi": { + "inputs": { + "flake-utils": [ + "flake-utils" + ], + "nixpkgs": [ + "nixpkgsUnstable" + ] + }, + "locked": { + "lastModified": 1733317519, + "narHash": "sha256-Q/qCh655Cga1nKs4qMF+2JYLxy+mLvFofKxukoREZ3Q=", + "owner": "edgelesssys", + "repo": "uplosi", + "rev": "137f7b6557087fc198e919b2ef8c167ecbe94f91", + "type": "github" + }, + "original": { + "owner": "edgelesssys", + "repo": "uplosi", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 16bd15b4a..e972da05b 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,11 @@ flake-utils = { url = "github:numtide/flake-utils"; }; + uplosi = { + url = "github:edgelesssys/uplosi"; + inputs.nixpkgs.follows = "nixpkgsUnstable"; + inputs.flake-utils.follows = "flake-utils"; + }; }; outputs = @@ -15,6 +20,7 @@ self, nixpkgsUnstable, flake-utils, + uplosi, }: flake-utils.lib.eachDefaultSystem ( system: @@ -50,11 +56,13 @@ ]); }) ); + + uplosiDev = uplosi.outputs.packages."${system}".uplosi; in { packages.mkosi = mkosiDev; - packages.uplosi = pkgsUnstable.uplosi; + packages.uplosi = uplosiDev; packages.openssl = callPackage ./nix/cc/openssl.nix { pkgs = pkgsUnstable; };