1
0
Fork 0
mirror of https://github.com/NixOS/nix-pills synced 2024-09-19 04:00:13 -04:00
nix-pills/pills/07/simple.txt
Henrik 29e1e273b8
with removed from first line (#213)
* 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>
2023-06-02 18:17:10 +02:00

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;
}