nix-samples/hello-derivation/hello_builder.sh
2024-03-17 17:33:12 +01:00

12 lines
350 B
Bash

#!/bin/bash
export PATH="$gnutar/bin:$gcc/bin:$gnumake/bin:$coreutils/bin:$gawk/bin:$gzip/bin:$gnugrep/bin:$gnused/bin:$bintools/bin"
echo $src
# I guess changing nixos version will change behavior of how fetchzip or something.
# This script differs from the version used against <nixpkgs>.
cd $src
ls -l
./configure --prefix=$out
make
make install