Skip to content

Commit

Permalink
refactor: nix-ld -> nix-ld-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Dec 7, 2023
1 parent a08e842 commit 7160b42
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 41 deletions.
125 changes: 88 additions & 37 deletions flake.lock

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

9 changes: 5 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@
};

# Run unpatched dynamically compiled binaries
nix-ld = {
url = "github:Mic92/nix-ld";
nix-ld-rs = {
url = "github:nix-community/nix-ld-rs";
inputs.nixpkgs.follows = "nixpkgs";
};

Expand Down Expand Up @@ -177,7 +177,7 @@

outputs = inputs:
let
inherit (inputs) deploy-rs flake lanzaboote nur nix-ld rustup-overlay snowfall-lib snowfall-frost sops-nix;
inherit (inputs) deploy-rs flake lanzaboote nur nix-ld-rs rustup-overlay snowfall-lib snowfall-frost sops-nix;

lib = snowfall-lib.mkLib {
inherit inputs;
Expand All @@ -200,6 +200,7 @@
overlays = [
flake.overlays.default
# nixpkgs-wayland.overlay
nix-ld-rs.overlays.default
nur.overlay
rustup-overlay.overlays.default
snowfall-frost.overlays.default
Expand All @@ -216,7 +217,7 @@

nixos = [
lanzaboote.nixosModules.lanzaboote
nix-ld.nixosModules.nix-ld
# nix-ld.nixosModules.nix-ld
sops-nix.nixosModules.sops
];
};
Expand Down
1 change: 1 addition & 0 deletions modules/nixos/tools/nix-ld/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ in
config = mkIf cfg.enable {
programs.nix-ld = {
enable = true;
package = pkgs.nix-ld-rs;

libraries = with pkgs; [
gcc
Expand Down

0 comments on commit 7160b42

Please sign in to comment.