mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
29e1e273b8
* with removed from first line example no longer starts with with (import <nixpkgs> {}); * added inherit example and comments. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
12 lines
274 B
Plaintext
12 lines
274 B
Plaintext
let
|
|
pkgs = import <nixpkgs> {};
|
|
in
|
|
pkgs.stdenv.mkDerivation {
|
|
name = "simple";
|
|
builder = "${pkgs.bash}/bin/bash";
|
|
args = [ ./simple_builder.sh ];
|
|
gcc = pkgs.gcc;
|
|
coreutils = pkgs.coreutils;
|
|
src = ./simple.c;
|
|
system = builtins.currentSystem;
|
|
} |