mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
20 lines
630 B
Nix
20 lines
630 B
Nix
{
|
|
description = "A post-modern text editor.";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
rust-overlay.url = "github:oxalica/rust-overlay";
|
|
};
|
|
|
|
outputs = inputs@{ self, nixpkgs, rust-overlay, flake-utils, ... }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; overlays = [ rust-overlay.overlay ]; };
|
|
in rec {
|
|
# packages.helix = pkgs.callPackage ./default.nix {};
|
|
# defaultPackage = packages.helix;
|
|
devShell = pkgs.callPackage ./shell.nix {};
|
|
});
|
|
}
|