This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| description = "Testing flake"; | |
| inputs = { | |
| nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; | |
| #nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| }; | |
| outputs = flakes-in@{ | |
| self |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -ex | |
| get_pkg () { | |
| nix --extra-experimental-features nix-command --extra-experimental-features flakes eval -f '<nixpkgs>' --raw "$1" | |
| } | |
| CC_LIB=$(get_pkg 'stdenv.cc.cc.lib') | |
| ZLIB=$(get_pkg 'zlib') | |
| LIBXML2=$(get_pkg 'libxml2') | |
| GLIBC=$(get_pkg 'glibc') |