pkgs: diff-flake: 0.1.0 -> 0.2.0
Use the new flake attributes conventions.
This commit is contained in:
parent
e35a4a1bd3
commit
7689df40a4
|
@ -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