chore: update nixpkgs and remove nixpkgs fork from inputs
This commit is contained in:
parent
eb551b867c
commit
31e891a1aa
2 changed files with 5 additions and 23 deletions
23
flake.lock
23
flake.lock
|
@ -2,11 +2,11 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1722415718,
|
||||
"narHash": "sha256-5US0/pgxbMksF92k1+eOa8arJTJiPvsdZj9Dl+vJkM4=",
|
||||
"lastModified": 1722957468,
|
||||
"narHash": "sha256-SQ0TCC4aklOhN/OzcztrKqDLY8SjpIZcyvTulzhDXs0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c3392ad349a5227f4a3464dce87bcc5046692fce",
|
||||
"rev": "2a13929e1f191b3690dd2f2db13098b04adb9043",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -16,26 +16,9 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-sparseprotocol": {
|
||||
"locked": {
|
||||
"lastModified": 1713361369,
|
||||
"narHash": "sha256-fcPSCr5O/uOLI1asjQ9ShYs72erxeR0CBPoUymgyTIc=",
|
||||
"owner": "rayanpiro",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e6dc0fb1a1e4d191fd7f663cb1cbf93fa7f43609",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rayanpiro",
|
||||
"ref": "sparse-protocol",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-sparseprotocol": "nixpkgs-sparseprotocol",
|
||||
"utils": "utils"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -2,15 +2,14 @@
|
|||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
nixpkgs-sparseprotocol.url = "github:rayanpiro/nixpkgs?ref=sparse-protocol";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils, nixpkgs-sparseprotocol }: utils.lib.eachDefaultSystem (system:
|
||||
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
rec {
|
||||
packages.default = (import nixpkgs-sparseprotocol { inherit system; }).rustPlatform.buildRustPackage {
|
||||
packages.default = pkgs.rustPlatform.buildRustPackage {
|
||||
pname = "mcstat";
|
||||
version = "0.1.0";
|
||||
src = ./.;
|
||||
|
|
Loading…
Reference in a new issue