commit a39f09840185a8d499f7478e784a2133e5d5f634 parent ce1d6a5ff36c2398a9282df2cfd16d5b7d19ef69 Author: William Casarin <jb55@jb55.com> Date: Sat, 7 Nov 2020 21:21:35 -0800 skeletons: nix-musl for static bins Diffstat:
A | dotfiles/skeletons/nix-musl/.envrc | | | 1 | + |
A | dotfiles/skeletons/nix-musl/default.nix | | | 7 | +++++++ |
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/dotfiles/skeletons/nix-musl/.envrc b/dotfiles/skeletons/nix-musl/.envrc @@ -0,0 +1 @@ +use nix diff --git a/dotfiles/skeletons/nix-musl/default.nix b/dotfiles/skeletons/nix-musl/default.nix @@ -0,0 +1,7 @@ +{ nixpkgs ? import <nixpkgs> {} }: +let pkgs = nixpkgs.pkgsMusl; +in +pkgs.stdenv.mkDerivation { + name = "project"; + nativeBuildInputs = [ ]; +}