Include LD libraries for Helix
This commit is contained in:
parent
7692483aa1
commit
fb77be55a3
3 changed files with 9 additions and 3 deletions
|
@ -71,6 +71,7 @@
|
|||
in
|
||||
pkgs.writers.writeNuBin "hx" ''
|
||||
def --wrapped main [...args] {
|
||||
$env.LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib"
|
||||
let git_root = (^"${pkgs.git}/bin/git" rev-parse --show-toplevel | str trim)
|
||||
^"${pkgs.uutils-coreutils-noprefix}/bin/ln" -fsn ${dir} $"($git_root)/${directory.name}"
|
||||
^"${pkgs.helix}/bin/hx" ...$args
|
||||
|
|
6
flake.lock
generated
6
flake.lock
generated
|
@ -236,11 +236,11 @@
|
|||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1756636162,
|
||||
"narHash": "sha256-mBecwgUTWRgClJYqcF+y4O1bY8PQHqeDpB+zsAn+/zA=",
|
||||
"lastModified": 1756696532,
|
||||
"narHash": "sha256-6FWagzm0b7I/IGigOv9pr6LL7NQ86mextfE8g8Q6HBg=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "37ff64b7108517f8b6ba5705ee5085eac636a249",
|
||||
"rev": "58dcbf1ec551914c3756c267b8b9c8c86baa1b2f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
-- SPDX-FileCopyrightText: 2025 Ethan Reece <contact@ethanreece.com>
|
||||
--
|
||||
-- SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
module MyLib (someFunc) where
|
||||
|
||||
someFunc :: IO ()
|
||||
someFunc = putStrLn "someFunc"
|
||||
|
|
Loading…
Add table
Reference in a new issue