From 9467bf06f2b87e2c494518949b880ab07a6ffa7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Mon, 18 Dec 2023 21:02:29 +0000 Subject: [PATCH] add nix-ld --- flake.lock | 22 ++++++++++++++++++++++ flake.nix | 10 ++++++++++ 2 files changed, 32 insertions(+) diff --git a/flake.lock b/flake.lock index 2a50c982..09a76f10 100644 --- a/flake.lock +++ b/flake.lock @@ -246,6 +246,27 @@ "type": "github" } }, + "nix-ld": { + "inputs": { + "nixpkgs": [ + "nixpkgs-stable" + ] + }, + "locked": { + "lastModified": 1701153607, + "narHash": "sha256-h+odOVyiGmEERMECoFOj5P7FPiMR8IPRzroFA4sKivg=", + "owner": "Mic92", + "repo": "nix-ld", + "rev": "bf5aa84a713c31d95b4307e442e966d6c7fd7ae7", + "type": "github" + }, + "original": { + "owner": "Mic92", + "ref": "main", + "repo": "nix-ld", + "type": "github" + } + }, "nixos-hardware": { "locked": { "lastModified": 1702453208, @@ -353,6 +374,7 @@ "helix": "helix", "home-manager": "home-manager", "nil": "nil", + "nix-ld": "nix-ld", "nixos-hardware": "nixos-hardware", "nixpkgs-master": "nixpkgs-master", "nixpkgs-nixos-unstable": "nixpkgs-nixos-unstable", diff --git a/flake.nix b/flake.nix index cd0ead3f..9ffbe048 100644 --- a/flake.nix +++ b/flake.nix @@ -10,6 +10,7 @@ helix, home-manager, nil, + nix-ld, nixos-hardware, nixpkgs-master, nixpkgs-nixos-unstable, @@ -80,6 +81,8 @@ (import ./nixos/common.nix) sops.nixosModules.sops disko.nixosModules.disko + nix-ld.nixosModules.nix-ld + {programs.nix-ld.dev.enable = true;} home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; @@ -288,6 +291,13 @@ inputs.nixpkgs.follows = "nixpkgs-nixos-unstable"; inputs.flake-utils.follows = "flake-utils"; }; + nix-ld = { + type = "github"; + owner = "Mic92"; + repo = "nix-ld"; + ref = "main"; + inputs.nixpkgs.follows = "nixpkgs-stable"; + }; helix = { type = "github"; owner = "helix-editor";