Skip to content

Commit

Permalink
Fix flake package
Browse files Browse the repository at this point in the history
  • Loading branch information
nrdxp committed Jun 9, 2021
1 parent 35feb61 commit a9c2cdd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
19 changes: 19 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
flake-utils.url = "github:numtide/flake-utils";
rust-overlay.url = "github:oxalica/rust-overlay";
naersk.url = "github:nmattia/naersk";
helix = {
flake = false;
url = "https://github.com/helix-editor/helix";
type = "git";
submodules = true;
};
};

outputs = inputs@{ self, nixpkgs, naersk, rust-overlay, flake-utils, ... }:
Expand All @@ -25,7 +31,7 @@
in rec {
packages.helix = naerskLib.buildPackage {
pname = "helix";
root = ./.;
root = inputs.helix;
};
defaultPackage = packages.helix;
devShell = pkgs.callPackage ./shell.nix {};
Expand Down

0 comments on commit a9c2cdd

Please sign in to comment.