on master help sign in
Fix flake package
commit1a774d61bb3ec28ac202a43450f35017f918e46e authorTimothy DeHerrera <tim.deh@pm.me> dateTue 8 Jun 2021, 17:00 (5 years ago) parent1b14e9a
2 files changed+26−1
flake.lock+19 flake.nix+7−1
flake.lock+19
@@ -30,6 +30,24 @@
3030 "type": "github"
3131 }
3232 },
33+ "helix": {
34+ "flake": false,
35+ "locked": {
36+ "lastModified": 1623200791,
37+ "narHash": "sha256-kZKThNh1dBSCnISk9vwbqctk1+U0s8Lzasz/CVytJps=",
38+ "ref": "master",
39+ "rev": "b20e4a108cd890afa6cdf83656856fc2157a8e84",
40+ "revCount": 789,
41+ "submodules": true,
42+ "type": "git",
43+ "url": "https://github.com/helix-editor/helix"
44+ },
45+ "original": {
46+ "submodules": true,
47+ "type": "git",
48+ "url": "https://github.com/helix-editor/helix"
49+ }
50+ },
3351 "naersk": {
3452 "inputs": {
3553 "nixpkgs": "nixpkgs"
@@ -95,6 +113,7 @@
95113 "root": {
96114 "inputs": {
97115 "flake-utils": "flake-utils",
116+ "helix": "helix",
98117 "naersk": "naersk",
99118 "nixpkgs": "nixpkgs_2",
100119 "rust-overlay": "rust-overlay"
flake.nix+7−1
@@ -6,6 +6,12 @@
66 flake-utils.url = "github:numtide/flake-utils";
77 rust-overlay.url = "github:oxalica/rust-overlay";
88 naersk.url = "github:nmattia/naersk";
9+ helix = {
10+ flake = false;
11+ url = "https://github.com/helix-editor/helix";
12+ type = "git";
13+ submodules = true;
14+ };
915 };
1016
1117 outputs = inputs@{ self, nixpkgs, naersk, rust-overlay, flake-utils, ... }:
@@ -25,7 +31,7 @@
2531 in rec {
2632 packages.helix = naerskLib.buildPackage {
2733 pname = "helix";
28− root = ./.;
34+ root = inputs.helix;
2935 };
3036 defaultPackage = packages.helix;
3137 devShell = pkgs.callPackage ./shell.nix {};