Compare commits
4 Commits
1a0194144f
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
bf28af51a7
|
|||
|
5fd053f4c4
|
|||
|
6fbe501f9a
|
|||
|
b5abb09507
|
23
flake-template.nix
Normal file
23
flake-template.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||
|
||||
outputs =
|
||||
{ self, nixpkgs, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
in
|
||||
{
|
||||
devShells."${system}".default =
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
};
|
||||
in
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
];
|
||||
|
||||
shellHook = "";
|
||||
};
|
||||
};
|
||||
}
|
||||
8
nix-ld.nix
Normal file
8
nix-ld.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
with pkgs;
|
||||
|
||||
mkShell {
|
||||
NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [ stdenv.cc.cc openssl ];
|
||||
NIX_LD = lib.fileContents "${stdenv.cc}/nix-support/dynamic-linker";
|
||||
}
|
||||
Reference in New Issue
Block a user