Skip to content

Commit

Permalink
feat: WIP add dream2nix env
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Jan 7, 2024
1 parent d1a6019 commit d298de5
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 7 deletions.
1 change: 1 addition & 0 deletions dream2nix/gpt-academic/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
6 changes: 3 additions & 3 deletions flake.lock

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

107 changes: 104 additions & 3 deletions nix/lock/flake.lock

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

6 changes: 6 additions & 0 deletions nix/lock/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@

pnpm2nix.url = "github:Ninlives/pnpm2nix";
pnpm2nix.inputs.nixpkgs.follows = "nixpkgs";

gpt-academic.url = "github:binary-husky/gpt_academic";
gpt-academic.flake = false;

dream2nix.url = "github:nix-community/dream2nix";
dream2nix.inputs.nixpkgs.follows = "nixpkgs";
};

outputs = _: { };
Expand Down
13 changes: 12 additions & 1 deletion pkgs/zeek-language-server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,20 @@
tree-sitter,
nodejs,
crane,
rust-bin,
}:
let
craneLib = crane.overrideScope' (final: prev: { });
craneLib = crane.overrideScope (
final: prev:
let
rust = rust-bin.nightly.latest.default;
in
{

rust = rust;
cargo = rust;
}
);
in
craneLib.buildPackage {
inherit (nixpkgs-hardenedlinux-sources.zeek-language-server) src pname version;
Expand Down

0 comments on commit d298de5

Please sign in to comment.