pkgs: diff-flake: 0.1.0 -> 0.2.0
Use the new flake attributes conventions.
This commit is contained in:
parent
11c53b4b1e
commit
473c002c6e
|
@ -1,7 +1,7 @@
|
||||||
{ lib, coreutils, git, gnused, makeWrapper, shellcheck, stdenvNoCC }:
|
{ lib, coreutils, git, gnused, makeWrapper, shellcheck, stdenvNoCC }:
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "diff-flake";
|
pname = "diff-flake";
|
||||||
version = "0.1.0";
|
version = "0.2.0";
|
||||||
|
|
||||||
src = ./diff-flake;
|
src = ./diff-flake;
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ add_shell() {
|
||||||
SYSTEM="$(nix eval --raw --impure --expr 'builtins.currentSystem')"
|
SYSTEM="$(nix eval --raw --impure --expr 'builtins.currentSystem')"
|
||||||
fi
|
fi
|
||||||
# Use 'inputDerivation' attribute to make sure that it is build-able
|
# Use 'inputDerivation' attribute to make sure that it is build-able
|
||||||
FLAKE_OUTPUTS+=("devShell.$SYSTEM.inputDerivation")
|
FLAKE_OUTPUTS+=("devShells.$SYSTEM.default.inputDerivation")
|
||||||
}
|
}
|
||||||
|
|
||||||
add_host() {
|
add_host() {
|
||||||
|
|
Loading…
Reference in a new issue