changed flake.nix
removed result
This commit is contained in:
parent
49c2bd477c
commit
60e9d2754a
@ -49,11 +49,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1641528457,
|
"lastModified": 1641887635,
|
||||||
"narHash": "sha256-FyU9E63n1W7Ql4pMnhW2/rO9OftWZ37pLppn/c1aisY=",
|
"narHash": "sha256-kDGpufwzVaiGe5e1sBUBPo9f1YN+nYHJlYqCaVpZTQQ=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "ff377a78794d412a35245e05428c8f95fef3951f",
|
"rev": "b2737d4980a17cc2b7d600d7d0b32fd7333aca88",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
63
flake.nix
63
flake.nix
@ -15,41 +15,30 @@
|
|||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ self, nixpkgs, flake-utils, libnbtplusplus, quazip, ... }:
|
outputs = args@{ self, nixpkgs, flake-utils, libnbtplusplus, quazip, ... }:
|
||||||
flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" ] (system:
|
{
|
||||||
let
|
overlay = final: prev: {
|
||||||
pkgs = import nixpkgs {
|
inherit (self.packages.${final.system})
|
||||||
inherit system;
|
polymc;
|
||||||
};
|
};
|
||||||
|
} // flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux"] (system:
|
||||||
packages = {
|
let pkgs = import nixpkgs {
|
||||||
polymc = pkgs.libsForQt5.callPackage ./packages/nix/polymc {
|
inherit system;
|
||||||
inherit self;
|
};
|
||||||
submoduleQuazip = quazip;
|
in {
|
||||||
submoduleNbt = libnbtplusplus;
|
defaultPackage = self.packages.${system}.polymc;
|
||||||
};
|
packages = rec {
|
||||||
};
|
polymc = pkgs.libsForQt5.callPackage ./packages/nix/polymc {
|
||||||
|
inherit self;
|
||||||
# 'nix flake check' fails
|
submoduleQuazip = quazip;
|
||||||
overlay = (final: prev: rec {
|
submoduleNbt = libnbtplusplus;
|
||||||
polymc = prev.libsForQt5.callPackage ./packages/nix/polymc {
|
};
|
||||||
inherit self;
|
};
|
||||||
submoduleQuazip = quazip;
|
apps = rec {
|
||||||
submoduleNbt = libnbtplusplus;
|
polymc = flake-utils.lib.mkApp {
|
||||||
};
|
name = "polymc";
|
||||||
});
|
drv = self.packages.${system}.polymc;
|
||||||
|
};
|
||||||
apps = {
|
};
|
||||||
polymc = flake-utils.lib.mkApp {
|
});
|
||||||
name = "polymc";
|
|
||||||
drv = packages.polymc;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
inherit packages overlay apps;
|
|
||||||
defaultPackage = packages.polymc;
|
|
||||||
defaultApp = apps.polymc;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user