Get asar in the right spot.

This commit is contained in:
Lyle Mantooth 2022-05-22 12:42:42 -04:00
parent ecce139c1d
commit 903855910a
Signed by: IslandUsurper
GPG key ID: 6DB52EAE123A5789
2 changed files with 56 additions and 6 deletions

View file

@ -1,8 +1,27 @@
{ {
"nodes": { "nodes": {
"asar": {
"inputs": {
"nixpkgs": "nixpkgs",
"utils": "utils"
},
"locked": {
"lastModified": 1653237168,
"narHash": "sha256-Y4qWMhskrKcVunYmdTuYKUJE3eRig0G9ZErsCF3wn3Q=",
"ref": "main",
"rev": "ad060ec88ec7449a5597388b2ba90179c9f6cd38",
"revCount": 1,
"type": "git",
"url": "file:///home/lyle/projects/asar"
},
"original": {
"type": "git",
"url": "file:///home/lyle/projects/asar"
}
},
"naersk": { "naersk": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1651574473, "lastModified": 1651574473,
@ -20,6 +39,21 @@
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": {
"lastModified": 1652562925,
"narHash": "sha256-J9Be9Vpg2inX71elNg+rR1RQs14fo6iYNjUQD4xvPqA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1bae25ac65a43c6c28961136bfe2c1a384fd9d09",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1652574577, "lastModified": 1652574577,
"narHash": "sha256-MoSWPtue4Wi9+kRDxUbLWEBCL8Bswaa8kVMh2JYpSJg=", "narHash": "sha256-MoSWPtue4Wi9+kRDxUbLWEBCL8Bswaa8kVMh2JYpSJg=",
@ -33,7 +67,7 @@
"type": "indirect" "type": "indirect"
} }
}, },
"nixpkgs_2": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1652574577, "lastModified": 1652574577,
"narHash": "sha256-MoSWPtue4Wi9+kRDxUbLWEBCL8Bswaa8kVMh2JYpSJg=", "narHash": "sha256-MoSWPtue4Wi9+kRDxUbLWEBCL8Bswaa8kVMh2JYpSJg=",
@ -51,9 +85,10 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"asar": "asar",
"naersk": "naersk", "naersk": "naersk",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_3",
"utils": "utils" "utils": "utils_2"
} }
}, },
"utils": { "utils": {
@ -70,6 +105,21 @@
"repo": "flake-utils", "repo": "flake-utils",
"type": "github" "type": "github"
} }
},
"utils_2": {
"locked": {
"lastModified": 1652557277,
"narHash": "sha256-jSes9DaIVMdmwBB78KkFUVrlDzawmD62vrUg0GS2500=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "12806d31a381e7cd169a6bac35590e7b36dc5fe5",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -1,6 +1,6 @@
{ {
inputs = { inputs = {
asar.url = "file:/home/lyle/projects/asar"; asar.url = "/home/lyle/projects/asar";
naersk.url = "github:nix-community/naersk/master"; naersk.url = "github:nix-community/naersk/master";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
utils.url = "github:numtide/flake-utils"; utils.url = "github:numtide/flake-utils";
@ -20,7 +20,7 @@
}; };
devShell = with pkgs; mkShell { devShell = with pkgs; mkShell {
buildInputs = [ asar cargo rustc rustfmt pre-commit rustPackages.clippy ]; buildInputs = [ asar.defaultPackage.${system} cargo rustc rustfmt pre-commit rustPackages.clippy ];
RUST_SRC_PATH = rustPlatform.rustLibSrc; RUST_SRC_PATH = rustPlatform.rustLibSrc;
}; };
}); });