Skip to content

Commit

Permalink
Update pills/07/simple_inherit.txt
Browse files Browse the repository at this point in the history
Co-authored-by: Valentin Gagarin <[email protected]>
  • Loading branch information
henrik-ch and fricklerhandwerk committed Jun 2, 2023
1 parent db29497 commit 71df787
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pills/07/simple_inherit.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
let
pkgs = import <nixpkgs> {};
inherit (pkgs) gcc coreutils;
in
pkgs.stdenv.mkDerivation {
name = "simple";
builder = "${pkgs.bash}/bin/bash";
args = [ ./simple_builder.sh ];
inherit gcc coreutils;
inherit (pkgs) gcc coreutils;
src = ./simple.c;
system = builtins.currentSystem;
}

0 comments on commit 71df787

Please sign in to comment.